repl.it
@janimanthan80/

COFFEE CAT

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
                #Coffee cat

my_coffee = {"cappaccino" : "0","0" : "cappaccino", 
             "hot_milk" : "1" , "1" : "hot_milk",
             "hot_chocolate" : "2","2" : "hot_chocolate",
             "tea" : "3","3" : "tea",
             "latte" : "4", "4" : "latte",
             "flat_white" : "5","5" : "flat_white"}
my_coffee1 = {"0" : "cappaccino", 
             "1" : "hot_milk",
             "2" : "hot_chocolate",
             "3" : "tea",
             "4" : "latte",
             "5" : "flat_white"}

print("\t\t\t\t\t\tcoffee menu \n\t\t\t\t\t|||||||||||||||||||\n\n", my_coffee1)

c = {"small" : "10","medium" : "20","large" : "30"}
print(c)

#print("\nNOTE -: 'to get coffee, enter 0000 instead of 4,,000 for 3,,00 for 2,etc')")

numbers = int(input("\nWrite the number of coffee to buy : "))

for numbers in range(0,numbers):

  select = input("\nSelect Coffee From (0 - 5) : ")

  if select == my_coffee["cappaccino"]:
    sel1 = print(my_coffee["0"])
  if select == my_coffee["hot_milk"]:
    sel2 = print(my_coffee["1"])
  if select == my_coffee["hot_chocolate"]:
    sel3 = print(my_coffee["2"])
  if select == my_coffee["tea"]:
    sel4 = print(my_coffee["3"])
  if select == my_coffee["latte"]:
    sel5 = print(my_coffee["4"])
  if select == my_coffee["flat_white"]:
    sel6 = print(my_coffee["5"]) 
      
  size = input("\nselect the size from (10, 20, & 30): ")

  if size == c["small"]:
    size1 = print("small")
  if size == c["medium"]:
    size2 = print("medium")  
  if size == c["large"]:
    size3 = print("Large") 
       
  add = print(select)