Why is it crashing? (newbie)
MontrezVosSeins
smouttebolleke at hotmail.com
Sun Jul 7 14:10:22 EDT 2002
"Charles Mantha" <charles_mantha at hotmail.com> wrote in message news:
>
> menu()
> menu_choice = int(raw_input("Choose one of the options: ")),
> while menu_choice != 3:
> if menu_choice == 1:
> run_test(get_questions())
maybe this should do it,
menu()
menu_choice = input("Choose one of the options: ")
if menu_choice == 1:
run_test(get_questions())
elif menu_choice == 2:
...
elif menu_choice == 3:
print "Byee"
else:
print "Whoops, illegal choice, try again."
More information about the Python-list
mailing list