试题 试卷
题型:单选题 题类:常考题 难易度:普通
【gb】教科版(2019)高中信息技术必修一 第2章 编程计算 单元知识点检测
List=[‘10’,25,‘猕猴桃’,9,65]
Print(List[3])
图 a
图 b
q=[0]*6
q[0]=1
head=0; tail=1
while tail<len(q)=1:
x=q[head]
if x%2==0:
q[tail]=x//2
tail+=1
else:
q[tail]=x*2
q[tail+1]=x*3
tail+=2
head+=1
程序运行后 , tail-head的值为( )
试题篮