Friday, 30 October 2015

The Cashier Script

#1 Tell Python your prices:

Soup = 5.34
Paella = 6.32
Spaghetti = 5.37
Elf_cream = 60.00
Meat_balls = 8.45
Chicken_wings = 4.20
Elf_eyes = 7.00
Ice_cream = 3.73
Icy_tea = 2.80
Elf_nostrils = 10.20

#2 Print and wait 1 second and print and...

print ('What would you like to eat, sir/madam?')
print ('    ')

print ('We have:')
print ('First course:')
print ('    Soup, Paella, Spaghetti and Elf_cream')
print ('    ')


print ('Second course:')
print ('    Meat_balls, Chicken_wings and Elf_eyes')
print ('    ')


print ('Dessert:')
print ('    Ice_cream, Icy_tea, Elf_nostrils')
print ('    ')

print (' Type what you wish')
print ('for example: Soup + Meatballs + Icy_tea. Don/t forget the capital letter')
print ('    ')

print ('Hey, I forgot! Don/t forget to use *2 or *3 if you want more than one, example: Soup*3')
print ('Then click ENTER')
print ('    ')