-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpython_restaurant.py
More file actions
77 lines (37 loc) · 1.35 KB
/
python_restaurant.py
File metadata and controls
77 lines (37 loc) · 1.35 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# SIMPLEST - Restaurant Waiter Helper
# User Stories
#1
# AS a User I want to be able to see the menu in a formated way, so that I can order my meal.
#2
# AS a User I want to be able to order 3 times, and have my responses added to a list so they aren't forgotten
#3
# As a user, I want to have my order read back to me in formated way so I know what I ordered.
# DOD --- Not necessary - can be done as an extra. Go search what DOD means in scrum
# its own project on your laptop and Github
# be git tracked
# have 5 commits mininum!
# has documentation
# follows best practices
# starter code
menu = ['falafel', 'HuMMus', 'coUScous', 'Bacalhau a Bras']
numbers = [1, 2, 3, 4]
food_and_numbers = [numbers, menu]
food_order = []
for x in menu:
print(x.lower().capitalize())
print("")
print("Please choose your first dish")
order_1 = input("order 1: ")
food_order.append(order_1)
print("Please choose your second dish")
order_2 = input("order 2: ")
food_order.append(order_2)
print("And finally, please choose your third dish")
order_3 = input("order 3: ")
food_order.append(order_3)
print("")
print("You have ordered {},".format(food_order[0]), "{}".format(food_order[1]), "and {}".format(food_order[2]))
# I need to print each item from the list
# print(menu[0])
# before I print I need to make them all capitalized
# print everything