Run ❯
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
class Person: name = "John" age = 36 country = "norway" x = vars(Person) print(x)
{'__module__': '__main__', 'name': 'John', 'age': 36, 'country': 'norway', '__dict__': <attribute '__dict__' of 'Person' objects>, '__weakref__': <attribute '__weakref__' of 'Person' objects>, '__doc__': None}