0
class Tweet: def _init_(self,message): self.x=message a = Tweet('nishqnt') print(a.x)
What is the problem with this python3 code
1 Answer
+ 2
Use double instead of single underscores before and after the init method.
What is the problem with this python3 code