Loading Events

« All Events

  • This event has passed.

9 AM – Library System – Gus

October 14 @ 9:30 am - 11:00 pm

What we learned today:

  1. Finish Library system

Homework:

  1. Make a file name person containing class Person containing name, age, hobby, job
  2. Make a method get_info, that will print “Hi my name is {name}, I’m {age} years old, my hobby is {hobby}, and my job is {job}”
  3. Make another file name main, and create a class ManagePerson
  4. In that class, make a while loop with this options:
    “1. add a person
    2. find a person by name
    3. list all person using dictionary
    4. list person that is older than 20
    5. Exit”
  5. make sure the to save the person into a dictionary

Details

  • Date: October 14
  • Time:
    9:30 am - 11:00 pm