第14561题 单选题
给定生成随机数字串的Python while循环程序,运行结果不可能的是?
import random
i=1;s=""
while i<=6:
    a=random.randint(0,9)#产生[0,9]之间的随机整数,包含9
    if a % 3==(i+1)%3:
        s+=str(a)
        i+=1
print(s)
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析