American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6:30 PM – Python Object Oriented Programming – Sebastian

March 7, 2023 @ 6:30 pm - 7:30 pm


Today We Did
  1. Did setup for SchoolApplication project
  2. Created SchoolApplication class with menu attribute
  3. Created Student class with name, age, and grade attributes
  4. In case you need anything, feel free to email me at sebastian@ayclogic.com
Homework
  1. Name your homework MAR7_schoolapp_hw, please submit by next Monday.
  2. Homework:
    a) “include” the student class from the other file we made (make it visible to the SchoolApplication file). We have code in our other projects showing us how to do this

    b) Create add_new_student method inside the SchoolApplication class with no parameters besides self. It will:
    print “Add a new student: “
    take user input asking for the student’s name, age and grade (how can we store user input into variables?)
    create student object and pass in the variables containing user input (for name, age and grade) as parameters for the student object

Details

Date:
March 7, 2023
Time:
6:30 pm - 7:30 pm
Event Categories:
,
Verified by MonsterInsights