This is the code I came up with. Do you think I should’ve done something more? I’m already 60%+ into Python, I know that I should be able to do more, but nothing comes to mind.
choices = ['pizza', 'pasta', 'salad', 'nachos'] print 'Your choices are:' for index, item in enumerate(choices): print index + 1, item for item in choices: user_order = raw_input("What would you like to have? ") if user_order == 'pizza': print "That'll be 20$." break elif user_order == 'salad': print "That'll be 100$" break else: print "You haven't ordered anything"