0
List error,
#I'm not getting why it's giving me this error, i'm using jupyter notebook therefore i was hoping for it to show me the list as so, i already tried changing the name since "list" as so i get is a buil in function but still gives me such error. Would someone please mind to explain? Thanks in advance nums = ["abc","def","hij"] list(map(lambda l:l[0],nums)) TypeError: 'list' object is not callable
2 Answers
+ 1
It doesn't give any errors, are you sure you wrote it exactly like this ?
0
now, that's weird, yes i copied it from my notebook