A Python script that calculates the tip to be paid to a waiter, given the bill amount and the tip percentage.
Python 3.x
Click the Code button, then click on "Download ZIP"
OR
Click the tip.py file, then click on the Download Raw File button.
- Enter the bill amount. It must be a positive number, either integer or decimal. Then, press Enter.
- Enter the tip percentage. It must be a positive number, either integer or decimal. Then, press Enter.
- The tip to be paid to the waiter will be displayed on screen.
- Finally, press Enter to exit the program.
MIT License © 2025 Antonis Paraskevis