American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

3 PM – Python OOP – Allison

July 9 @ 3:00 pm - 4:00 pm

What We Did Today

  1. Continued our SchoolSystem project

Homework

  1. Make sure to do the code in your SchoolSystem project
  2. When you’re done with the homework, upload main.py but rename it to Jun9_main.py in your Google Drive (don’t rename it in PyCharm!)
  3. In your main.py file:
    1. If the user enters option 2, print out everything in the student list
    2. If the user enters option 3, ask the user for the student’s name. Find the student in the student list, and print out the info like ({name} – {age} years old – grade {grade}).
      1. If no student with that name exists, print: “We couldn’t find {student’s name} in our student list”
    3. You can skip if the user enters option 4 and 5 for now.
    4. If the user enters option 6, ask the user for input on any info needed to create a teacher object. Create the teacher object, and add it to teacher_list.
      1. Make sure to create an empty teacher_list (in the initialize function)
  4. Other
    1. Add any missing parts of your class notes from our class notes (see link at bottom)
    2. Review the homework answers (see link at bottom)

Notes

  1. You can reach out via allison@ayclogic.com if you have any questions.
  2. Class notes and previous homework answers can be found here: Link to Google Drive

Details

Date:
July 9
Time:
3:00 pm - 4:00 pm
Event Categories:
,
Verified by MonsterInsights