To loop through any kind of list, we use the function's parameter instead of a fixed list, like here with cart.
cart
Make sure to pick cart, followed by cart.