0

I have error line 10. I want to do inheritance Class Person. Thanks you sir.

I want to do inheritance. I have error line 10 https://code.sololearn.com/cbLkqE3uJE3N/?ref=app

3rd Nov 2021, 5:17 AM
Malick Diagne
Malick Diagne - avatar
1 Odpowiedź
+ 3
Change line 6 to: super().__init__(name) super() will implicitly pass self already so it can be omitted here.
3rd Nov 2021, 5:35 AM
ChaoticDawg
ChaoticDawg - avatar