American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6 PM – Python OOP – Darin

March 25 @ 6:00 pm - 7:00 pm

What We Did Today:

  1. Learned about inheritance

Homework:

In your human.py and basketballPlayer.py, implement the following:

"""
Homework:

create a new attribute (variable) in the human class called totalPoints
create a new method called self.increasePoints in human.py in the Human class that increments the totalPoints by 1

override self.increasePoints to increase by 10 
"""

Notes:

You can reach me at ddjapri@ayclogic.com for any questions.

Class notes: https://drive.google.com/drive/folders/1OwtesGpGH9qm7A9cPpFKe-gooY71zxc4?usp=sharing

Details

Date:
March 25
Time:
6:00 pm - 7:00 pm
Event Categories:
,
Verified by MonsterInsights