+ 1

Suppose if we write for_in range(x,y) , to then how will these loop runs...

I have some confusion in for loop of python

17th Feb 2019, 6:48 AM
Nikhil Tale
Nikhil Tale - avatar
2 Answers
+ 1
It runs once for each integer between those two numbers, assigning it to the variable.
17th Feb 2019, 9:00 AM
Maneren
Maneren - avatar
+ 1
Thanks maneren!
17th Feb 2019, 9:02 AM
Nikhil Tale
Nikhil Tale - avatar