American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • 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

  1. 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
  1. Homework: Complete the remainder for the project described in the link below, as explained in class: https://forms.gle/zHY5VnDP4pzFzxr9A
  2. 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.

  3. 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.
  4. Create selection 2 and selection 3 and that will be it.
  5. 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

Details

Date:
April 3
Time:
7:00 pm - 8:00 pm
Event Categories:
,
Verified by MonsterInsights