Answers for "how to loop code python"

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

loops in python

# prints Hello Geek 3 Times
count = 0
while (count < 3):    
    count = count+1
    print("Hello Geek")
Posted by: Guest on August-24-2021

Python Answers by Framework

Browse Popular Code Answers by Language