American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

8 PM – Python OOP – Joel

November 3 @ 8:00 pm - 9:00 pm

Today we did:
  1. We finished the LibrarySystem.
Homework:
  1. Create a new file called grocery_item.py. Inside, make a new class called GroceryItem. It will have 3 attributes: name, price, and frozen food. Make the constructor for this class.
  2. Create a new file called Nov3_ShoppingCart2 and create a class called ShoppingCartApplication2. Make a constructor for it, this time using it to store variables that we will use throughout the project: a list called ‘shopping_cart’ and a dictionary called ‘menu items’.

If you have any questions, feel free to email me at joel@ayclogic.com.

Details

Date:
November 3
Time:
8:00 pm - 9:00 pm
Verified by MonsterInsights