|
13 | 13 | all_menus.append(cafe_menu) |
14 | 14 |
|
15 | 15 | pancake_house_menu.append(MenuItem( |
16 | | - "K&B's Pancake Breakfast", |
17 | | - "Pancakes with scrambled eggs, and toast", |
18 | | - True, |
19 | | - 2.99)) |
| 16 | + "K&B's Pancake Breakfast", |
| 17 | + "Pancakes with scrambled eggs, and toast", |
| 18 | + True, |
| 19 | + 2.99)) |
20 | 20 | pancake_house_menu.append(MenuItem( |
21 | | - "Regular Pancake Breakfast", |
22 | | - "Pancakes with fried eggs, sausage", |
23 | | - False, |
24 | | - 2.99)) |
| 21 | + "Regular Pancake Breakfast", |
| 22 | + "Pancakes with fried eggs, sausage", |
| 23 | + False, |
| 24 | + 2.99)) |
25 | 25 | pancake_house_menu.append(MenuItem( |
26 | | - "Blueberry Pancakes", |
27 | | - "Pancakes made with fresh blueberries, and blueberry syrup", |
28 | | - True, |
29 | | - 3.49)) |
| 26 | + "Blueberry Pancakes", |
| 27 | + "Pancakes made with fresh blueberries, and blueberry syrup", |
| 28 | + True, |
| 29 | + 3.49)) |
30 | 30 | pancake_house_menu.append(MenuItem( |
31 | | - "Waffles", |
32 | | - "Waffles, with your choice of blueberries or strawberries", |
33 | | - True, |
34 | | - 3.59)) |
| 31 | + "Waffles", |
| 32 | + "Waffles, with your choice of blueberries or strawberries", |
| 33 | + True, |
| 34 | + 3.59)) |
35 | 35 |
|
36 | 36 | diner_menu.append(MenuItem( |
37 | | - "Vegetarian BLT", |
38 | | - "(Fakin') Bacon with lettuce & tomato on whole wheat", |
39 | | - True, |
40 | | - 2.99)) |
| 37 | + "Vegetarian BLT", |
| 38 | + "(Fakin') Bacon with lettuce & tomato on whole wheat", |
| 39 | + True, |
| 40 | + 2.99)) |
41 | 41 | diner_menu.append(MenuItem( |
42 | | - "BLT", |
43 | | - "Bacon with lettuce & tomato on whole wheat", |
44 | | - False, |
45 | | - 2.99)) |
| 42 | + "BLT", |
| 43 | + "Bacon with lettuce & tomato on whole wheat", |
| 44 | + False, |
| 45 | + 2.99)) |
46 | 46 | diner_menu.append(MenuItem( |
47 | | - "Soup of the day", |
48 | | - "A bowl of the soup of the day, with a side of potato salad", |
49 | | - False, |
50 | | - 3.29)) |
| 47 | + "Soup of the day", |
| 48 | + "A bowl of the soup of the day, with a side of potato salad", |
| 49 | + False, |
| 50 | + 3.29)) |
51 | 51 | diner_menu.append(MenuItem( |
52 | | - "Hotdog", |
53 | | - "A hot dog, with saurkraut, relish, onions, topped with cheese", |
54 | | - False, |
55 | | - 3.05)) |
| 52 | + "Hotdog", |
| 53 | + "A hot dog, with saurkraut, relish, onions, topped with cheese", |
| 54 | + False, |
| 55 | + 3.05)) |
56 | 56 | diner_menu.append(MenuItem( |
57 | | - "Steamed Veggies and Brown Rice", |
58 | | - "Steamed vegetables over brown rice", |
59 | | - True, |
60 | | - 3.99)) |
| 57 | + "Steamed Veggies and Brown Rice", |
| 58 | + "Steamed vegetables over brown rice", |
| 59 | + True, |
| 60 | + 3.99)) |
61 | 61 |
|
62 | 62 | diner_menu.append(MenuItem( |
63 | | - "Pasta", |
64 | | - "Spaghetti with Marinara Sauce, and a slice of sourdough bread", |
65 | | - True, |
66 | | - 3.89)) |
| 63 | + "Pasta", |
| 64 | + "Spaghetti with Marinara Sauce, and a slice of sourdough bread", |
| 65 | + True, |
| 66 | + 3.89)) |
67 | 67 |
|
68 | 68 | diner_menu.append(dessert_menu) |
69 | 69 |
|
70 | 70 | dessert_menu.append(MenuItem( |
71 | | - "Apple Pie", |
72 | | - "Apple pie with a flakey crust, topped with vanilla icecream", |
73 | | - True, |
74 | | - 1.59)) |
| 71 | + "Apple Pie", |
| 72 | + "Apple pie with a flakey crust, topped with vanilla icecream", |
| 73 | + True, |
| 74 | + 1.59)) |
75 | 75 |
|
76 | 76 | dessert_menu.append(MenuItem( |
77 | | - "Cheesecake", |
78 | | - "Creamy New York cheesecake, with a chocolate graham crust", |
79 | | - True, |
80 | | - 1.99)) |
| 77 | + "Cheesecake", |
| 78 | + "Creamy New York cheesecake, with a chocolate graham crust", |
| 79 | + True, |
| 80 | + 1.99)) |
81 | 81 | dessert_menu.append(MenuItem( |
82 | | - "Sorbet", |
83 | | - "A scoop of raspberry and a scoop of lime", |
84 | | - True, |
85 | | - 1.89)) |
| 82 | + "Sorbet", |
| 83 | + "A scoop of raspberry and a scoop of lime", |
| 84 | + True, |
| 85 | + 1.89)) |
86 | 86 |
|
87 | 87 | cafe_menu.append(MenuItem( |
88 | | - "Veggie Burger and Air Fries", |
89 | | - "Veggie burger on a whole wheat bun, lettuce, tomato, and fries", |
90 | | - True, |
91 | | - 3.99)) |
| 88 | + "Veggie Burger and Air Fries", |
| 89 | + "Veggie burger on a whole wheat bun, lettuce, tomato, and fries", |
| 90 | + True, |
| 91 | + 3.99)) |
92 | 92 | cafe_menu.append(MenuItem( |
93 | | - "Soup of the day", |
94 | | - "A cup of the soup of the day, with a side salad", |
95 | | - False, |
96 | | - 3.69)) |
| 93 | + "Soup of the day", |
| 94 | + "A cup of the soup of the day, with a side salad", |
| 95 | + False, |
| 96 | + 3.69)) |
97 | 97 | cafe_menu.append(MenuItem( |
98 | | - "Burrito", |
99 | | - "A large burrito, with whole pinto beans, salsa, guacamole", |
100 | | - True, |
101 | | - 4.29)) |
| 98 | + "Burrito", |
| 99 | + "A large burrito, with whole pinto beans, salsa, guacamole", |
| 100 | + True, |
| 101 | + 4.29)) |
102 | 102 |
|
103 | 103 | cafe_menu.append(coffee_menu) |
104 | 104 |
|
105 | 105 | coffee_menu.append(MenuItem( |
106 | | - "Coffee Cake", |
107 | | - "Crumbly cake topped with cinnamon and walnuts", |
108 | | - True, |
109 | | - 1.59)) |
| 106 | + "Coffee Cake", |
| 107 | + "Crumbly cake topped with cinnamon and walnuts", |
| 108 | + True, |
| 109 | + 1.59)) |
110 | 110 | coffee_menu.append(MenuItem( |
111 | | - "Bagel", |
112 | | - "Flavors include sesame, poppyseed, cinnamon raisin, pumpkin", |
113 | | - False, |
114 | | - 0.69)) |
| 111 | + "Bagel", |
| 112 | + "Flavors include sesame, poppyseed, cinnamon raisin, pumpkin", |
| 113 | + False, |
| 114 | + 0.69)) |
115 | 115 | coffee_menu.append(MenuItem( |
116 | | - "Biscotti", |
117 | | - "Three almond or hazelnut biscotti cookies", |
118 | | - True, |
119 | | - 0.89)) |
| 116 | + "Biscotti", |
| 117 | + "Three almond or hazelnut biscotti cookies", |
| 118 | + True, |
| 119 | + 0.89)) |
| 120 | + |
120 | 121 |
|
121 | 122 | class Garconete: |
122 | 123 |
|
123 | | - def __init__(self, menu): |
124 | | - self.menu = menu |
| 124 | + def __init__(self, menu): |
| 125 | + self.menu = menu |
125 | 126 |
|
126 | | - def display_menu(self): |
127 | | - self.menu.display() |
| 127 | + def display_menu(self): |
| 128 | + self.menu.display() |
128 | 129 |
|
129 | 130 | jane = Garconete(all_menus) |
130 | 131 |
|
|
0 commit comments