Answers for "python for loo[p"

74

python loops

#x starts at 1 and goes up to 80 @ intervals of 2
for x in range(1, 80, 2):
  print(x)
Posted by: Guest on January-19-2020
3

python for loop

for i in range(3):
  print(i)
#prints:  0,1,2
Posted by: Guest on November-11-2020
0

python for loop

for c in "banana":
    print(c)
Posted by: Guest on October-09-2021

Python Answers by Framework

Browse Popular Code Answers by Language