单选题

运行下面的代码,程序输出的结果是?

x ='abcd'

for i in range(len(x)):

    print(i)

A

a

b

c

d

B

0

1

2

3

C

1

2

3

4

D

程序报错

赣ICP备20007335号-2