You've packed your shopping neatly into one bag. At the self-checkout, the scanner wants each item held up one at a time.
You don't need a different bag, or different shopping. You just need to take the things out and hand them over separately.
Code runs into exactly this. The values you need are already sitting together in a list — and the function wants them one by one.