Vidyalelo
Python · Q65

Python Loops and Conditionals: MCQs for Exam Readiness

Programming · Python · question 65

Q65

What will be the output of the following Python code snippet? x = 'abcd' for i in range(len(x)): i.upper() print (x)

A.
a b c d
B.
0 1 2 3
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