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