import sys
I cant check if this import works because the code itself doesn't work
options_list = [1,2,3]
def options(options_list):
print ("\n1. Hypotenuse solver \n2. Scat jazz \n3. Exit")
print ("Enter the number of the option you would like")
option = input()
return option
option = options(options_list)
while option not in options_list:
option = options(options_list)
if option in options_list:
if option == 1:
print ("...")
I'll add this later, hopefully
elif option == 2:
print ("Scoobidibahbahbah")
elif option == 3:
sys.exit
this is for a school project, a hypotenuse solver with a menu