while shopping:
user_input = input(
f'What area do you want to explore?: \n a) Food \n b) Fruit \n c) Dairy \n:').upper
if user_input == 'A' or 'FOOD':
print(food_list)
break
elif user_input == 'B' or 'FRUIT':
print(fruit_list)
break
elif user_input == 'C' or 'DAIRY':
print(dairy_list)
break
Aucun commentaire:
Enregistrer un commentaire