Advertisement
JkSoftware

Day 6 - While Loop

Nov 9th, 2021
1,093
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. i = 1
  2. while i < 6:
  3.   print(i)
  4.   i += 1
  5.  
  6. i = 1
  7. while i < 6:
  8.   print(i)
  9.   i += 1
  10. else:
  11.   print("i is no longer less than 6")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement