Q129
What will be the output of the following Python code? num = ['One', 'Two', 'Three'] for i, x in enumerate(num): print(': '.format(i, x),end=" ")
A.
1: 2: 3:
B.
Exception is thrown
C.
One Two Three
D.
0: One 1: Two 2: Three
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board