Let’s Code Python: Point Of Sale System

Share it with your friends Like

Thanks! Share it with your friends!

Close

A console-based Point Of Sale (POS) system for a simple business, in this case a lemonade stand.

GitHub: https://github.com/TigerhawkT3/small_scripts/blob/master/lemonade_stand.py

Comments

Luis Luis says:

Friend, Do you know how can I print a sell ticket?, How Can I send data to the ticket printer without a specific height?

Marcelo Augusto says:

Man, thx for your work! I really enjoy see you coding and learn a lot with it!!
keep coding in python, i thing that many others enjoy like me!

rt xing says:

is the source code available ?

Sutrisno Nasir says:

is it possible thought to execute this in sublime 3 though ? if can please let me know how. thanks

Rod Coulits says:

Thanks for the tutorial!

morphman86 says:

This gets so cluttered when using the UK monetary system.
We have notes in £1000, £100, £50, £20, £10 and £5 and coins in £2, £1, 50p, 20p, 10p, 5p, 2p and 1p. That's 14 different denominations and with this code that's 42 lines of code compared to your 24 just to handle all denominations.

By that point, I'd probably make a function for it, might even make one for setting it all up and printing the setup to a file to load, where you can make a dictionary for each denomination and their value and just print the appropriate dictionary results….

Write a comment

*