判断题

以下程序的作用是对整数0-9求和。

s=0

for i in range(10): 

    s=s+i

print(s)

A

正确

B

错误

赣ICP备20007335号-2