American Young Coder (AYC)

Loading Events

« All Events

  • This event has passed.

5 PM – Python OOP – Juan

November 27, 2023 @ 5:00 pm - 6:00 pm

Today We Did
  1. Continued working on the Supermarket System.
  2. Created a dictionary menu_items, with item number keys and GroceryItem instances as the values.
  3. Created a function to handle purchasing items.
  1. Name your folder Dec4_Supermarket_HW and do:
    1. Finish the deposit(self, money) function in the ShoppingCartApplication class.
      • Retrieve input to allow the user to specify how much to add to the balance attribute
    2. Add at least 3 more menu items
      • Each menu item should be included in the menu_items dictionary.
    3. Modify the menu attribute and the application_loop to support the deposit() function and the 3 new menu items.


November 27, 2023
5:00 pm - 6:00 pm
Verified by MonsterInsights