注意:此页面搜索的是所有试题
以下代码的运行结果为( )。
n = 0
for s in "01234":
if s == "5":
break
n = n + 1
print(n)
A.0
B.1
C.5
D.无输出

参考答案