Answers for "using a for loop in a function python"

1

how to do a for loop python

print(range(4))
>>> [0,1,2,3]
print(range(1,4))
>>> [1,2,3]
print(range(2,10,2))
>>> [2,4,6,8]
Posted by: Guest on June-15-2020

Code answers related to "using a for loop in a function python"

Python Answers by Framework

Browse Popular Code Answers by Language