Vidyalelo
Python · Q69

Python Introduction and basic

Programming · Python · question 69

Q69

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

A.
error
B.
1 2 3 4
C.
a b c d
D.
0 1 2 3
Answer

Answer: Option D

Solution

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