American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

4 PM – Python OOP – Darin

November 4, 2024 @ 4:00 pm - 5:00 pm

Today We:

  1. Started on the supermarket application, going over code structure.

Homework:

  1. In the same Supermarket Application project, add the “expired” parameter to the GroceryItem class, which will be set to either True or False
  2. In the main file, check if the food is expired before buying anything, and if it is expired, print a statement saying that the food is expired and therefore you can’t purchase it.

Notes:

Email me at ddjapri@ayclogic.com if you have any questions.

Details

Date:
November 4, 2024
Time:
4:00 pm - 5:00 pm
Event Categories:
,
Verified by MonsterInsights