Discuss / Python / 居然要我写死循环?

居然要我写死循环?

Topic source

x=0 while x<=100: print(x)

__H君__

#2 Created at ... [Delete] [Delete and Lock User]

while里面x不会自动变化的,要想输入0到100,在print后面加上一个x=x+1


  • 1

Reply