What Will Be The Output Of The Following Python Codep Pre #796
What will be the output of the following Python code?</p> <pre><code class="language-python"> #mod1 def change(a): b=[x*2 for x in a] print(b) #mod2 def change(a): b=[x*x for x in a] print(b) from mod1 import change from mod2 import change #main s=[1,2,3] change(s) </code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs109 Python. It can also be found in gs gs109 Python Modules - Python Modules - Quiz No.1.