for i in "python":if i == 't':passprint(i)
这个要看你怎么缩进的
for i in "python": if i == 't': pass print(i)
这样输出npass就是什么也不做,因此相当于循环什么也不做,最后循环终止,输出最后一个字符