Python - Encapsulation and Data Protection
What will be the output of this code?
class Dog:
def __init__(self, name):
self.name = name
my_dog = Dog('Buddy')
print(my_dog.name)