I'm kind of confused over the iterator object/concept and the yield statement and its usage.
According to my understanding, all the python sequence are iterators, as they don't need the classic for (int i=0; i<list.length; i++)
to iterate through lists/arrays.
Am I correct over this? Am I missing anything?
Also how would i use the yield statement? (not getting it from the official explanation)