What does the following code output?
class People():
def __init__(self, name):
self.name = name
def namePrint(self):
print(self.name)
person1 = People("Sally")
person2 = People("Louise")
person1.namePrint()
class People():
def __init__(self, name):
self.name = name
def namePrint(self):
print(self.name)
person1 = People("Sally")
person2 = People("Louise")
person1.namePrint()