repl.it
@StanleyBlack/

ineration

Python

No description

fork
loading
Files
  • main.py
  • main1.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
29
30
31
32
33

# makes it a loop
Running = True
while Running:
 # it will wait untill the user has entered the input
 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()
 # gets user input
 if selection == "3":
   Running = True
   print("Sorry you are leaving. Have a nice day!")
 elif selection == "1":
   #  to split what the user has inputed
   print("1 selected")
   import main1
   main1.mainw()


 elif selection == "2":
   #  to split the user into what it wants
   print("2 selected")

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