#آموزش

xs = list(range(10))

list_1 = list(map(lambda x: x*x, xs))

list_2 = [x*x for x in xs]

print(list_1 == list_2)

output: True

❇️ @raspberry_python

Comments

Be the first to add a comment