Intro to Programming and Logic – Python 2 – Chapter 7 –Iteration
(so far have learned the way of a program, variables,expressions, statements, functions, interface design, conditional,and recursion)
Write a program that acts like a cash register. It will ask theuser for the price of each of the items they are purchasing, one ata time.
We do not know how many items the user will purchase and wecannot ask ahead of time before we start ringing them up (who doesthat in the checkout line anyway?) -1 point
After the last item is entered, the cashier will enter 0, andthis will mean that there are
OR
OR