- This event has passed.
4 PM – Python OOP – Darin
November 4, 2024 @ 4:00 pm - 5:00 pm
Today We:
- Started on the supermarket application, going over code structure.
Homework:
- In the same Supermarket Application project, add the “expired” parameter to the GroceryItem class, which will be set to either True or False
- 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.