Advertisement
JkSoftware

Day 6 - While Loop

Nov 9th, 2021
931
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement