Job to show:
Shopping Cart Procedure:
After starting the program, enter the user name password, if it is the first time to log in, let the user enter the payroll, and then print the product list
Allow users to purchase items based on their product number
After the user selects the product, checks whether the balance is enough, enough on the direct debit, enough to remind
You can exit at any time to print the purchased goods and balances when exiting
In the process of user use, the key output, such as the balance, the item has been added to the shopping cart and other messages, need to highlight
The next time the user 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
Allow query of previous consumption records
Let's go to the process first!
Specific code is still in the optimization ""
Perfectionism, can't get hurt!!
Python Seventh day-job [shopping cart]