Multiple Choice
What is the output of the following piece of code?
#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
#mains=[1,2,3]
Change(s)
A) [2,4,6].
B) [1,4,9].
C) [2,4,6]
D) There is a name clash
Correct Answer:

Verified
Correct Answer:
Verified
Q5: What is the output of the following
Q6: What is the output of the following
Q7: What is the output of the following?<br>X
Q8: What is the output of the following
Q9: What will be displayed by the following
Q11: Which of these is not a core
Q12: Which of the following formatting options can
Q13: What is the output of the following
Q14: What is the output of the following
Q15: Which function overloads the >> operator?<br>A)more()<br>B)gt()<br>C)ge()<br>D)rshift()