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
1 Answer
+ 3
Change line 6 to:
super().__init__(name)
super() will implicitly pass self already so it can be omitted here.