首页 > 代码库 > python新手篇

python新手篇

import time

n1 = True

while n1:
    print("1")
    time.sleep(1)
    n1 = False
print(end)

 

import time
kaishi =1 flag = True while flag: print(kaishi) if kaishi == 1000000: flag = False kaishi = kaishi + 1 time.sleep(1) print(end)

 

 

 

python新手篇