Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 660 Bytes

File metadata and controls

21 lines (15 loc) · 660 Bytes

tip

A Python script that calculates the tip to be paid to a waiter, given the bill amount and the tip percentage.

Requirements

Python 3.x

Download

Click the Code button, then click on "Download ZIP"

OR

Click the tip.py file, then click on the Download Raw File button.

How to Use

  1. Enter the bill amount. It must be a positive number, either integer or decimal. Then, press Enter.
  2. Enter the tip percentage. It must be a positive number, either integer or decimal. Then, press Enter.
  3. The tip to be paid to the waiter will be displayed on screen.
  4. Finally, press Enter to exit the program.

License

MIT License © 2025 Antonis Paraskevis