单选题

阅读下面代码,正确的输出是( )

tot = 0
cnt=10
j=1
while tot<10:
    for iin range(j)
        cnt+=1
    tot+=i
    j+=1
print(cnt)
A

15

B

28

C

21

D

25

赣ICP备20007335号-2