测评会员优惠活动进行中 · 开通 VIP,有效期内测评不限次 VIP 优惠中 · 测评不限次 立即查看

A39266. 阅读以下程序,程序输出的结果为?n = 10count = 0while n < 30: if n % 5 == 0 : count += 1 n = n + 2print(count)

单选题 容易

题目描述

阅读以下程序,程序输出的结果为?

n = 10

count = 0

while n < 30:

    if n % 5 == 0 :

        count += 1

    n = n + 2

print(count)

选项(单选)

上一题 下一题