Answers for "how to loop through only even numbers in python"

1

python for loop even numbers

for i in range(2,11,2): # range(start, end, step)
  print(i)
Posted by: Guest on May-07-2021

Code answers related to "how to loop through only even numbers in python"

Python Answers by Framework

Browse Popular Code Answers by Language