American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

7 PM – Python OOP – Joel

May 13 @ 7:00 pm - 8:00 pm

Today We:
  1. Went over the pros and cons of using a dictionary vs list
Your HW:
  1. Add a student dictionary
  2. In the add new student function, add the newly created student to this new student dictionary
    1. For the key, use the string “<student_name><age>”
  3. Create a new menu option for finding student using dictionary
    1. Ask the user for the students name and age
    2. use these 2 inputs to construct a key to retrieve the student from the student_dictionary
    3. Print out that student like normal

Details

Date:
May 13
Time:
7:00 pm - 8:00 pm