@ReubenBakas/

Iteration

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 

Running = True
while Running:
 # 
 print("~~~~~~~~~~~~~~~~~")
 print("Please select one of the following options:")
 print()
 print("Enter '1' to login:")
 print("Enter '2' to Register:")
 print("Enter '3' to Exit:")
 print()
 selection=input()
 if selection == "3":
   Running = True
   print("Sorry you are leaving. Have a nice day!")
 elif selection == "1":
   #  
   print("1 selected")

 elif selection = "2":
   #  
   print("2 selected")

 else:
   print("ERROR!!!!")
   print("You did not enter a correct option.")
   print("Please try again.")