Answers for "python loop only even numbers"

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

Python Answers by Framework

Browse Popular Code Answers by Language