« All Events
5 PM – Intro To Python – Gamas
November 6 @ 5:00 pm - 6:00 pm
Today We Did
- We reviewed half of the homework
- We continued with grocery_shopping_cart.py
Homework
- Finish last week homework for number 6 to 10.
- Continue with your grocery_shopping_cart.py. Add code so it can handle purchasing Milk and Orange Juice properly. Look at example below on what happen when user enter 2 or 3
What do you want to purchase:
1. Milk - $5
2. Eggs - $3
3. Orange Juice - $6
Enter your selection 1 to 3 (Enter 'exit' for quit): 2
You have purchased Eggs for $3
What do you want to purchase:
1. Milk - $5
2. Eggs - $3
3. Orange Juice - $6
Enter your selection 1 to 3 (Enter 'exit' for quit): 3
You have purchased Orange Juice for $6
What do you want to purchase:
1. Milk - $5
2. Eggs - $3
3. Orange Juice - $6
Enter your selection 1 to 3 (Enter 'exit' for quit):