📜  pyton do while loop+ - Python 代码示例
📅  最后修改于: 2022-03-11 14:46:16.038000             🧑  作者: Mango
代码示例2
#there is no do while loop in python but you san simulate it
i = 1
while True:
print(i)
i = i + 1
if(i > 5):
break