单选题

下面Python代码执行后的输出是 ( )。

cnt =0

for i in range(5):

cnt = cnt + 1

print(cnt)

A

1

B

4

C

5

D

10

赣ICP备20007335号-2