for loop
Also written: for
A loop that runs the same indented lines once for each item in a list, string, range or other collection. In `for item in cart:`, `item` holds each value in turn.
Also written: for
A loop that runs the same indented lines once for each item in a list, string, range or other collection. In `for item in cart:`, `item` holds each value in turn.