Python - Constructors and Object Initialization
Identify the mistake in this Python class:
class Sample:
def __init__(self, data):
data = data
def display(self):
print(self.data)
obj = Sample(5)
obj.display()