I have the following problem:
lista1 = [3,4,5]
list(map(lambda x: x**3, lista1))
You gave this error:
TypeError Traceback (most recent call last)
<ipython-input-14-5e26f3f7b396> in <module>()
2 lista1 = [3,4,5]
3 lista2 = (map(lambda x: x**3, lista1))
----> 4 print(list(lista2))
TypeError: 'list' object is not callable
Could someone explain the reason for this error?