📜  Python 中的 while 循环 for do you want to continue - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:59.985000             🧑  作者: Mango

代码示例2
while True:
    # some code here
    if input('Do You Want To Continue? ') != 'y':
        break