Mar-30-2022, 03:52 AM
Hello,
This for explain:
This for explain:
class Example(): def __init__(self): pass def mymethod(self, name): return f"Hello {name}" ex = Example() out = list(map(ex.mymethod, ['me', 'you'])) print(out)
I speak Python but I don't speak English (I just read it a little). If I express myself badly, please blame the translator^^.