下面代码的输出结果是__________。letter=['A','B','C','D','D','D']foriinletter:ifi=='D':letter.remove(i)print(letter)
A. ['A','B','C']
B. ['A','B','C','D','D']
C. ['A','B','C','D','D','D']
D. ['A','B','C','D']
查看答案
不能使下面代码结束的是__________。whileTrue:inp=eval(input("请输入一个数值:"))ifinp//3:break
A. 2
B. 3
C. 4
D. 5
下面代码的输出结果是__________。foriin"football":ifi=="t":continueprint(i,end="")
A. 无输出
B. ll
C. footba
D. fooball
下面代码的输出结果是__________。foriin"PYTHON":forkinrange(2):print(i,end="")ifi=='H':break
A. PPYYTTHHOONN
B. PPYYTTOONN
C. PPYYTTHOONN
D. PPYYTTH
下面代码的输出结果是__________。x=10whilex:x-=1ifx%2:print(x,end=")else:pass
A. 86420
B. 975311
C. 97531
D. 864200