Vidyalelo
Python · Q52

Python Loops and Conditionals: MCQs for Exam Readiness

Programming · Python · question 52

Q52

What will be the output of the following Python code? d = 0, 1, 2 for x in d: print(x)

A.
0 1 2
Answer
B.
{0, 1, 2} {0, 1, 2} {0, 1, 2}
C.
error
D.
none of the mentioned

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board