American Young Coder Academy – Indo

Loading Events

« All Events

  • This event has passed.

7 PM – Python OOP

October 8, 2021 @ 7:00 pm - 8:00 pm

Today We Do
  1. We continued with School Application project, we extracted methods from add new student, list all students, add new teacher and list all teachers.
Homework
  1. Under student.py and teacher.py classes, create a new method get_info(self). when it is called, it will return
    f"{self.name} - {self.age} years old - grade {self.grade}"
  2. Inside school_application.py, inside list_all_students(self) and list_all_teachers(self), change the code so it call this new method s.get_info(), capture the return value and print to the shell.
  3. Review Aug20_dictionary.py and Aug20.dictionaryHomework.py

Details

Date:
October 8, 2021
Time:
7:00 pm - 8:00 pm
Event Categories:
,
Verified by MonsterInsights