|
@ -463,7 +463,7 @@ class <name>: |
|
|
def __init__(self, a): |
|
|
def __init__(self, a): |
|
|
self.a = a |
|
|
self.a = a |
|
|
def __repr__(self): |
|
|
def __repr__(self): |
|
|
# To return all members use: return f'{self.__dict__}' |
|
|
|
|
|
|
|
|
# To return string of all members use: return f'{self.__dict__}' |
|
|
return str({'a': self.a}) |
|
|
return str({'a': self.a}) |
|
|
def __str__(self): |
|
|
def __str__(self): |
|
|
return str(self.a) |
|
|
return str(self.a) |
|
|