📜  在 python 代码示例中添加变量

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

代码示例1
var = 0
while True:
    import time
    var = (var + 1)
    print(var)
    time.sleep (1)