Question
What is the output of the code shown below?l=[-2, 4]m=map(lambda x:x*2, l)print(m)
Answer: Option B
Was this answer helpful ?
The code shown above returns the address of m. Had we used the statement: print(list(m)), the output would have been: [-4, 16].
Was this answer helpful ?
More Questions on This Topic :
Question 5. What does os.getlogin() return? ....
Submit Solution