Answers for "python for step"

3

python for loop jump by 2

for i in range(0,10,2):
  print(i)
Posted by: Guest on November-01-2020
0

python for loop with step

for i in xrange(0,10,2):
  print(i)
Posted by: Guest on March-09-2021
2

Range python iterate by 2

for i in range(0,10,2):
  print(i)
Posted by: Guest on May-20-2020

Python Answers by Framework

Browse Popular Code Answers by Language