notebook.community
Edit and run
In [19]: x=1 while x!=0: x=int(input()) print(x)
x=1 while x!=0: x=int(input()) print(x)
1 1 2 2 0 0