Today We Did
- We continued with feb_28_supermarket.py
- We Added the menu and forever loop and if statements to handle the menu selection.
Homework
Continue with feb_28_supermarket.py
- After user enter “exit”, display how much they have to pay. “Thank you for your purchases. Please pay ${cost}.”
- You need to keep track of items that they purchase so when they exit, you can list the items that they have purchase. For example, if they enter 1 and then 2 and then 2 then after they enter “exit”, then your program needs to display
You have purchased the following items
Chocolate
Muffin
Muffin
Thank you for your purchase. Please pay $11.