Answers for "for loop in python in loop"

37

for loop python

Python Loops

for x in range(1, 80, 2):
  print(x)

words=['zero','one','two']
for operator, word in enumerate(words):
	print(word, operator)

for x in range(1, 80, 2):
  print(x)
Posted by: Guest on April-07-2020
0

python for loop

n = int(input("All numbers in given range"))
for i in range(n):
  print(i)
Posted by: Guest on April-09-2021

Python Answers by Framework

Browse Popular Code Answers by Language