- This event has passed.
7 PM – Python OOP – Darin
April 3 @ 7:00 pm - 8:00 pm
FINAL EXAM IS NEXT WEEK!
So you have to study the past projects and finish up the final exam review.
Today We Did
- Went over the final exam review, going over similar topics such as inheritance, different class usage, and analyzing/pinpointing what needs to be done to complete a problem given a question.
Homework
- Homework: Complete the remainder for the project described in the link below, as explained in class: https://forms.gle/zHY5VnDP4pzFzxr9A
- For the NewYorkCityDriver class, you need to correct your code to this for the __init__ method:
def __init__(self, name, speed): super().__init__(name, speed, type="New York Taxi Driver")
It is redundant to have to set self.type = type because the super() immediately do that.
- You need to make sure the output of your code matches the output expected in the question, so in the add_driver() method, you need to add one more print statement.
- Create selection 2 and selection 3 and that will be it.
- Your final goal is to make sure that your output can match the given sample output, and that is how you maximize your score.
NOTES:
In case you need anything, feel free to email me at ddjapri@ayclogic.com