0
Fix the error. Tap to see
class A: def __init__(self,name): self.name = name def hello(hell): def hii(self): print(f"Hii {self.name}") hell() print(f"Bye {self.name}") return hii @hello def info(self): print (f"The name is {self.name}") a= A("Arpit") a.info()
4 Respuestas
+ 2
just change `hell()` to `hell(self)`
hell…😵
+ 6
NET MASTER ,
> not quite clear what your issue or question is. please give some more details.
> if this is a sololearn exercise, please mention the tutorial and the exercise number.
+ 2
Pls edit your question description by:
1. Describing your task
2. Explaining your difficulties
3. Removing the code
4. Adding a link to your code in Code Playground (use "+" button)
The better your information, the better people can help you.
+ 1
o.gak Thankyou bro... It help me