2 Réponses
+ 4
iterable means it can be gone through one item at a time or in steps.
iterator is the means of way going through them
iteration is the process.
This isn't exact but its a super basic idea. Hopefully someone can make it simpler.
~edit: Michael says it even better
+ 4
iteration is the process of repeating something multiple times (a loop)
an iterable is an object you can loop over, because it has multiple elements (a list, a tuple, a dictionary, a string)
an iterator is an object (a pointer) that „walks“ through the iterable from element to element until a specific stop-condition occurs.