class Pet():
def __init__(self, name):
self.name = name
def make_noise(self):
print("Noise!")
class Dog(Pet):
dog1 = Dog()
dog1.make_noise()
What is the output when you run this code?
Rewrite the code to resolve the error and make this work properly
What happens when you call method make_noise
?