Vidyalelo
Python · Q51

Python Loops and Conditionals: MCQs for Exam Readiness

Programming · Python · question 51

Q51

What will be the output of the following Python code? x = 123 for i in x: print(i)

A.
1 2 3
B.
123
C.
error
Answer
D.
none of the mentioned

Answer: Option C

Solution

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