Why is it crashing? (newbie)
MontrezVosSeins
smouttebolleke at hotmail.com
Sun Jul 7 17:46:40 EDT 2002
smouttebolleke at hotmail.com (MontrezVosSeins) wrote in message news:
Oeps, sorry about my 2 posts, didn't know it took 3h to 9h
> 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