While loop in python

number = 1
while number < 20:
   print(number)
   number += 1

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.