« All Events
5 PM – Intro To Python – Bill
October 10, 2022 @ 5:00 pm - 6:00 pm
Today We:
- Started the Shopping Cart System project
- Learned how to create multi-lined string
- Created a while loop to ask the user for their response to the menu
- Created a variable to keep track of the total cost
- Created a list to keep track of every item in the user’s cart
Your HW:
- Add the rest of the items to the if statement chain (ice cream, bread, soup) just like we did for the milk
- After the user exits the loop, print out the final total cost
- Also use a for loop to display all the items the user has in their shopping cart