Mofey How long have you been learning to program and working on loops?
It all comes down to putting it to practice and applying it to logic you're trying to implement.
While loops may feel difficult to grasp at the moment, you'll eventually reach a point where constructing loops is as effortless as constructing a sentence comprised of a subject with nouns, a predicate with verbs, and other grammatical parts to express a complete and coherent thought.
Paul K Sadler Same goes for recursion, which is essentially a self calling functional loop. 😉
David Carroll yes I think loops have been the hardest to learn in programming. Why I'm asking the question is because loops is still the remaining part of programming I haven't been able to wrap my head around.
Definitely not, loops aren't that difficult. If they would be harder, they wouldn't be at the top of pretty much every course. Sometimes it is easy to understand loops, like a basic for loop, but if you are faced with a more difficult loop, like the ones you asked previously, you should go through each iteration, and then it will come more naturally