Advertisement
Le-Ownect

while loop do 0 ao infinito

Jul 1st, 2020
687
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.10 KB | None | 0 0
  1. x = 0
  2. #x eh igual a zero
  3. #no while, vai acrescentar +1 ao x
  4. while( x + 1):
  5.     print(x)
  6.     x = x + 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement