Answers for "python for llop"

2

python for loop

a = 10 
for i in range(1, 10) # the code will move from the range from 1 to 10 but not including 10
	print(i)
Posted by: Guest on January-17-2021
2

python for loop

for i in range(5, 9):
  print(i)
Posted by: Guest on November-29-2020
6

python for loop

words=['zero','one','two']
for operator, word in enumerate(words):
	print(word, operator)
Posted by: Guest on March-19-2020
0

for in pthon

num_list = range(10)

for num in list:
	print(num)
Posted by: Guest on January-17-2021

Python Answers by Framework

Browse Popular Code Answers by Language