单选题

运行下列代码, 程序的执行结果是?  (     )

a = 10
for i in range(3):
a = a - 2
print(a)

A

6

B

10

C

8

D

4

赣ICP备20007335号-2