The most powerful way to enter loops in Python
When debugging or just writing exploratory code, you often want to step through the lines of your loop code. If your iterable is a list, that is simple, as you can use indexing to get to the first item:
fruits = ['apple'…