Advertisement
SansPapyrus683

While Loops

May 15th, 2022
778
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. x = 45
  2. y = 80
  3. while x < 50 and y < 100:
  4.     x = x + 1
  5.     y = y + 1
  6.     print(x, y)
  7.  
  8. print('we out of the loop')
  9.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement