« All Events
7: 00 PM – Intro to Python – Parna
July 21, 2022 @ 7:00 pm - 8:00 pm
Today We Do
- Gave feedback on Turtle Project submissions.
- Went over Grocery System Program.
Homework
- You have one week to improve your code on the Turtle Project to raise your grade on the assignment.
- Add an additional item to the purchase list from our Grocery System program called “Frozen Pizza”. Add to the total price and shopping cart accordingly.
- Expected Behavior should be like this:
What do you want to purchase:
1. Milk - $5
2. Ice Cream - $4
3. Bread - $6
4. Frozen Pizza - $20
99. I am done, checkout please
Enter your selection: 1
You have purchased Milk for $5
What do you want to purchase:
1. Milk - $5
2. Ice Cream - $4
3. Bread - $6
4. Frozen Pizza - $20
99. I am done, checkout please
Enter your selection: 4
You have purchased Frozen Pizza for $20.
What do you want to purchase:
1. Milk - $5
2. Ice Cream - $4
3. Bread - $6
4. Frozen Pizza - $20
99. I am done, checkout please
Enter your selection: 99
You have purchased the following items:
milk
frozen pizza
Please pay $25, thank you for your business.