for i in range(10): if i == 5: # continue 跳出本次循环 # break 跳出本层循环 exit() 退出程序 print(i)
print(‘hello python’)