Answers for "while loop example in python 3.8"

1

while loop python

# While loop counting to 10 in 2's

i = 2

while i <= 10:  # While i is less than or equal 10, it will add 2
  print(i)
  i = i + 2
Posted by: Guest on March-16-2021

Code answers related to "while loop example in python 3.8"

Python Answers by Framework

Browse Popular Code Answers by Language