The program should first enter into the main menu, giving the user a choice of entering the number "1", "2", or "3". Entering the character "q" should exit the program.
How to write such types of things? Help me
loop, to take input forever, and then use the break keyword (or exit function) to stop the loop
num = input("enter number")
raw_input is not supported anymore in python3. ...READ MORE
Here am talking about my example you ...READ MORE
The print statement has been replaced with a print() ...READ MORE
You can also use the random library's ...READ MORE
colors = ['red', 'green', ...READ MORE
can you give an example using a ...READ MORE
You can simply the built-in function in ...READ MORE
To read user input you can try the cmd module for ...READ MORE
As the path is fixed, use ...READ MORE
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.