试题

试题 试卷

logo

题型:填空题 题类:模拟题 难易度:普通

浙教版(2020)2022初中信息技术模拟试卷3

在使用python中,经常通过索引遍历输出列表元素,根据下面的代码,填写运行结果。
program=["red", "blue", "yellow"]

n=len(program)

for i  in  range(n) :

print(i, program[i])

运行结果为:  

返回首页

试题篮