单选题

运行以下程序, 输出的结果是? ( ) 

n=10 

s=0 

m=1

while m<=n: 

s=s+m m=m+1 

print(s)

A

45

B

50

C

55

D

60

赣ICP备20007335号-2