# iter(lst) returns an iterator object, which is collected in i # dir(i) shows __iter__ as well as __next__. This shows that is is an iterator object ...
We’ve seen that while loops are useful when we know we wish to perform a calculation or task, but we don’t know in advance how many iterations we may need. Thus, while loops provide a condition, and ...