Python - Classes and Object Lifecycle
What will be the output of this code?
class Cat:
def __init__(self):
self.sound = 'meow'
c = Cat()
print(c.sound)
c.sound = 'purr'
print(c.sound)