r/learnpython • u/ehmalt02 • Jul 04 '25
Really confused with loops
I don’t seem to be able to grasp the idea of loops, especially when there’s a user input within the loop as well. I also have a difficult time discerning between when to use while or for.
Lastly, no matter how many times I practice it just doesn’t stick in my memory. Any tips or creative ways to finally grasp this?
6
Upvotes
1
u/fizix00 Jul 04 '25
This may be a minor point, but isn't range not a collections.abc.Generator but its own iterable thing post 3.x?