#
print ('Let me help you order a pizza. What size would you like?'
' a. small ($7.99) b. medium ($14.99) c. large ($18.99)')
choice = input('Please enter a or b or c: ')
prices = {'a':7.99 , 'b':14.99 , 'c':18.99}
if choice == 'asdf' :
print("Ok fam, you became a god, heres the keys and my chick, pizzas still the same tho.")
elif choice == 'a' :
print("Ok fam, lemme hook you up, a small pizza. There 7.99 each.")
elif choice == 'b':
print("Ok fam, lemme hook you up, a medum pizza. There 14.99 each.")
elif choice == 'c':
print("Ok fam, lemme hook you up, a large pizza. There 18.99 each.")
else:
print("you bum, you had 3 options")
amount = choice * input('How many would you like?')
print ('Your total is %.2f' % (amount * prices[choice]))
i cannot get this to compile/ work i would like help with the last line, i cannot figure out how to mutiply numbers in strings to get a num value, thanks, ace