What Will Be The Output Of The Following Python Codep Pre #745
What will be the output of the following Python code?</p> <pre><code class="language-python">l=[-2, 4] m=map(lambda x:x*2, l) print(m)</code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs109 Python. It can also be found in gs gs109 Mapping Functions - Python Functional Programming Tools - Quiz No.1.
What will be the output of the following Python code?
l=[-2, 4] m=map(lambda x:x*2, l) print(m)
[-4, 16]
Address of m
Error
-4 16