Answers for "python for in loops"

6

python for loop

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

python for loop

for  i in data: #where data is your list or tuple
  print(i) #printing the values in data iteratively!
Posted by: Guest on October-06-2020

Python Answers by Framework

Browse Popular Code Answers by Language