python笔记-while循环中的知识点_python


i=0
while i < 10:
    print(i)
    i+=1
    
    
    
    
    
i=0
while i < 10:
    print(i)
    i=i+1

运行结果是一样的。