American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6 PM – Python OOP – Darin

March 18 @ 6:00 pm - 7:00 pm

What We Did Today:

  1. Converted the GroceryStore class into a Supermarket Application program.
  2. Learnt how to optimize the code, make it easier for users

Homework:

In your SupermarketApplication project, implement the following:

"""
Now, add a bool self.frozen variable to the grocery item class
When you list the items, check if it's frozen, and if it is, remind the user to store it in the freezer

milk - 5 - 50
ice cream - 4 - 40 - Remember to store in the freezer!
bread - 6 - 60
chicken - 8 - 100 - Remember to store in the freezer!
"""

Notes:

You can reach me at ddjapri@ayclogic.com for any questions.

Class notes: https://drive.google.com/drive/folders/1OwtesGpGH9qm7A9cPpFKe-gooY71zxc4?usp=sharing

Details

Date:
March 18
Time:
6:00 pm - 7:00 pm
Event Categories:
,
Verified by MonsterInsights