-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhw2.py
More file actions
57 lines (50 loc) · 2.07 KB
/
hw2.py
File metadata and controls
57 lines (50 loc) · 2.07 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
#Resturaunt selector
#Ask user if anyone is vegiterian, vegan, and gluten free
#List or resturaunts
#Joes Gourmet Burgers - vegetarian: no , vegan: no , gluten free: no
#Main street Pizza Company - vegetarian: yes , vegan: no , gluten free: yes
#Corner Cafe - vegetarian: yes , vegan: yes , gluten free: yes
#Mamas Fine Italian- vegetarian: yes , vegan: no , gluten free: no
#The Chefs Kitchen- vegetarian: yes , vegan: yes , gluten free: yes
#Ask about dietary restrictions
Vegetarian = input('Is anyone in the party vegetarian?')
Vegan = input('Is anyone in the party vegan?')
Gluten_free = input('Is anyone in the party gluten free?')
#Options
print('Your resturaunt choices are:')
#The shit in the middle
if Vegetarian == 'yes' and Vegan == 'yes' and Gluten_free == 'yes':
print('Corner Cafe')
print('The Chefs Kitchen')
elif Vegetarian =='yes' and Vegan == 'yes' and Gluten_free == 'no':
print('Corner Cafe')
print('The Chefs Kitchen')
elif Vegetarian == 'yes' and Vegan == 'no' and Gluten_free == 'yes':
print('Corner Cafe')
print('The Chefs Kitchen')
print('Main street Pizza Co.')
elif Vegetarian == 'no' and Vegan =='yes' and Gluten_free == 'yes':
print('Corner Cafe')
print('The Chefs Kitchen')
elif Vegetarian == 'no' and Vegan == 'no' and Gluten_free == 'yes':
print('Main street Pizza Co.')
print('Corner Cafe')
print('The Chefs Kitchen')
elif Vegetarian == 'yes' and Vegan == 'no' and Gluten_free == 'no':
print('Main street Pizza Co.')
print('Corner Cafe')
print('Mamas Fine Italian')
print('The Chefs Kitchen')
elif Vegetarian == 'no' and Vegan == 'yes' and Gluten_free == 'no':
print('Corner Cafe')
print('The Chefs Kitchen')
elif Vegetarian == 'no' and Vegan == 'no' and Gluten_free == 'no':
print('Joes Gourmet Burgers')
print('Main street Pizza Co.')
print('The Chefs Kitchen')
print('Corner Cafe')
print('Mamas Fine Italian')
else:
print('')
#Print the options for there stupid ass allergies
print('Enjoy your Resturaunt choices!')