Q38
What will be the output of the following Python code? x = (i for i in range(3)) for i in x: print(i)
A.
0 1 2
AnswerB.
error
C.
0 1 2 0 1 2
D.
none of the mentioned
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board