Job Requirements
1, after starting the program, enter the user name password, if it is the first time to log in, let the user enter wages, and then print the product list
2. Allow users to purchase goods according to the product number
3, the user selects the goods, checks whether the balance is enough, enough on the direct debit, not enough on the reminder
4, can withdraw at any time, exit, print purchased goods and balance
5, in the user process, the key output, such as the balance, the product has been added to the shopping cart and other messages, need to highlight
6, the user after the next login, enter the user name password, directly back to the last state, that is, the balance of the last consumption or those, re-login to continue to purchase
7, allow to query the previous consumption records
Python Basics-Day 2 Assignment-shoppingcart Shopping Cart Program