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=" ")
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
Answer: Option D
Join The Discussion