I expect this code will append both lists but the result is a list with 2 items, the individual lists. Can someone explain to me | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

I expect this code will append both lists but the result is a list with 2 items, the individual lists. Can someone explain to me

print(lambda x,y: x+y,list(range(10)), list(range(12))) https://code.sololearn.com/cDWtFK73oXf2/?ref=app

15th Sep 2020, 4:53 PM
Gbadegesin Muhammed
Gbadegesin Muhammed - avatar
1 Answer
+ 3
Thanks for your explanation, it has clarified the issue
15th Sep 2020, 6:29 PM
Gbadegesin Muhammed
Gbadegesin Muhammed - avatar