Hiếu Hoàng
Member
What will be the output of the following Python code?
A. a b c d
B. 0 1 2 3
C. error
D. 1 2 3 4
Code:
x = 'abcd'
for i in range(len(x)):
print(i)
B. 0 1 2 3
C. error
D. 1 2 3 4