📜  如何使对象设置一次 python 代码示例

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

代码示例1
cords = 0
swiched = 100
done = False
while True:
    cords += 1
    if done == False:
        swiched = cords
        done = True
    print(swiched)