Advertisement
Le-Ownect

while python

Jul 1st, 2020
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. #x = 5
  2. #enquanto x for maior do que 1, faca:
  3. #imprime(x)
  4. #x = x - 1
  5.  
  6. #Em python:
  7. x = 5
  8. while(x >1):
  9. print(x)
  10. x = x -1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement