« All Events
5:30 PM – Intro To Python – Gamas
November 15, 2022 @ 5:30 pm - 6:30 pm
Homework
- If you have not submitted your turtle project, please upload to google drive as soon as possible. Otherwise you get some point deductions.
- Gamas will send feedbacks on your turtle project to your email and if you make changes according to my feedbacks, then you can get better grades.
- Continue on Nov8_ShoppingCart.py. Add codes so it can do the following
What do you want to purchase:
1. Milk - $5
2. Ice Cream - $4
3. Bread - $6
4. 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. I am done, checkout please
Enter your selection: 2
You have purchased Ice Cream for $4
What do you want to purchase:
1. Milk - $5
2. Ice Cream - $4
3. Bread - $6
4. I am done, checkout please
Enter your selection: 3
You have purchased Bread for $6
What do you want to purchase:
1. Milk - $5
2. Ice Cream - $4
3. Bread - $6
4. I am done, checkout please
Enter your selection: 4
Please pay $15, thank you for your business.