« All Events
9 AM – Intro To Python – Indo – Gamas
September 9, 2023 @ 9:00 am - 10:00 am
What We Did
- We used 2 dictionaries to simplified GroceryShoppingCart program.
- We learned how to check if a key exists in a dictionary.
Homework
- Inside sep_9_robux_shopping_cart_dictionary.py:
- Create 2 dictionaries to store the price and the item_name.
- Simplified the if elif statements inside while True.
- This is very similar to what we did in the class with sep_2_grocery_shopping_cart_dictionary.py.
- Create a new file sep_9_dictionary_hw2.py. Do 6-3 TRY IT YOURSELF from page 99.