American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

7 PM – Python OOP – Sebastian

January 24 @ 7:00 pm - 8:00 pm

Today We Did

  1. Add a classroom
  2. List all classrooms using a list
  3. List all classrooms using a dictionary
  4. Find classrooms using dictionary
  5. AYC Logic’s observed holidays: https://www.ayclogic.com/observed-holidays/
  6. In case you need anything, feel free to email me at sebastian@ayclogic.com
Homework
  1. Please submit your homework to the corresponding project’s folder in your Google Drive
  2. Homework: Finish our find_classroom_using_list() method
    1. Ask the user for a subject they want to find
    2. Look at each object inside our classroom_list attribute, and check if it has a subject attribute with the same value as what the user asked for
      1. If there is a match, then print out the classroom info and end the function (remember how we exit out of a function!).
    3. If we looked at every single classroom in our list, and none of them have a matching name, tell the user that the classroom doesn’t exist.

Details

Date:
January 24
Time:
7:00 pm - 8:00 pm
Event Categories:
,
Verified by MonsterInsights