51.5k views
3 votes
Say you have a class that you want to inherit from a superclass. You want the __init__ function of the child class to be slightly different from the parent's. What should you do?

1 Answer

1 vote

Answer:

define __init__() in child class.

Step-by-step explanation:

Say you have a class that you want to inherit from a superclass. You want the __init-example-1
User Mohanad Kaleia
by
3.1k points