第16076题
给定Python循环代码执行后输出的cnt变量值是多少?
n = 5
cnt = 1
while n >= 0:
    cnt +=1
    n -= 2
print(cnt)
A

3

B

4

C

6

D

7

提交0次 正确率0.00%
答案解析