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

A39052. 阅读以下程序,请问程序运行后会输出几个"hello,noc!"?n = 3while n < 6: print("hello, noc!") n = n + 1

单选题 中等

题目描述

阅读以下程序,请问程序运行后会输出几个"hello,noc!"?

n = 3

while n < 6:

    print("hello, noc!")

    n = n + 1

选项(单选)

上一题 下一题