Give an example of a FOR loop

for i in ragne(0,10): print("Iteration No: ",i)

RP

Related Python Mentoring answers

All answers ▸

What is the outcome of the following code? print(2*[3,4,5])


Describe both For-loops and While-loops and explain how you can simulate the effect of a for loop with a while loop with an example.


How do I use for loops in Python?


What is the difference between a float and an integer variable type?