como usar o self no python
def __init__(self):
self.mtd([1, 2, 2, 3, 3, 3, 4, 4, 4, 4])
def mtd(self, data):
for value in data:
print(value)
Frail Frog
def __init__(self):
self.mtd([1, 2, 2, 3, 3, 3, 4, 4, 4, 4])
def mtd(self, data):
for value in data:
print(value)