1.1 How the for loop works internally: Initialization: When a for loop starts, Python first gets an iterator from the iterable. It does this by calling the iter() function on the iterable object.