American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

4 PM – Python OOP – Darin

September 23 @ 4:00 pm - 5:00 pm

Today We:

  1. Changed the grocery system program to use classes to minimize the number of dictionaries needed for our program.
  2. Reviewed how dictionaries work.

Homework:

(1) IF you haven’t already:

  1. Do Try It Yourself page 162 in a new file called Sep16_ClassesHW.py
  2. Copy pages 163 to 166 in the same file as the above^

(2) MAIN homework, do the following:

  1. Do Try It Yourself page 167 numbers 9-4 and 9-5 in the same file as the above^.
  2. A default value means something like __init__(self, name, price = 10), where price is a default value (an optional value)

Notes:

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

Details

Date:
September 23
Time:
4:00 pm - 5:00 pm
Event Categories:
,
Verified by MonsterInsights