Python - Magic Methods and Operator Overloading
Identify the error in this code snippet:
class Person:
def __init__(self, name):
self.name = name
def __str__(self):
return name
p = Person('Alice')
print(p)