PySimpleGUI/docs/eCookbook/examples-for-reddit-posts/sales-commission-calculator.md

13 lines
606 B
Markdown

An example solution to this Reddit post:
https://www.reddit.com/r/learnpython/comments/jgmvl7/this_is_probably_a_stupid_question/
The problem is a basic sales calculator. This particular example is quite primitive. It simply takes a single input, does a simple calculation and outputs a total.
The window produced on Windows looks like this:
![SNAG-0707.jpg](/api/files/5f9a9b05f36fe65d7e1286af/snag-0707.jpeg "SNAG-0707.jpg")
<iframe src='https://trinket.io/embed/pygame/c06e152578?start=result' width='100%' height='600' frameborder='0' marginwidth='0' marginheight='0' allowfullscreen></iframe>