预测“跳过继续”的结果
下面程序跳过负数,只数有效的成绩。运行它,填写结果。
count = 0
for s in [80, -1, 90]:
if s >= 0:
count = count + 1
print(count)
下面程序跳过负数,只数有效的成绩。运行它,填写结果。
count = 0
for s in [80, -1, 90]:
if s >= 0:
count = count + 1
print(count)
全部评论