Python - Classes and Object Lifecycle
What will be the output of this code?
class Cat:
def __init__(self, name):
self.name = name
my_cat = Cat('Whiskers')
print(my_cat.name)