0

Here's the code:

a = ((1, 2), (3, 4), (5, 2))
a = map(lambda x : map(lambda x: x**2, x), a)
print(tuple(a))  # doesn't work

How can I unmap this object?

Daniel Walker
  • 6,380
  • 5
  • 22
  • 45

0 Answers0