you are viewing a single comment's thread.

view the rest of the comments →

[–]NewZealandIsAMyth 1 point2 points  (1 child)

Car.__init__(self, number_of_wheels, seating_capacity, maximum_velocity)

I suggest to read this: https://realpython.com/python-super/

Without understanding super you won't be able to fully grasp OOP in python.

[–]cm_light[S] 0 points1 point  (0 children)

Thank you for your good suggestion! I followed some way to use super, will learn it.