An open API service indexing awesome lists of open source software.

https://github.com/rdbreak/tip_calculator

A simple tip calculator with Python
https://github.com/rdbreak/tip_calculator

Last synced: 10 months ago
JSON representation

A simple tip calculator with Python

Awesome Lists containing this project

README

          

# Tip-Calculator
[![Build Status](https://travis-ci.com/rdbreak/Tip_Calulator.svg?branch=master)](https://travis-ci.com/rdbreak/Tip_Calulator)
[![codecov](https://codecov.io/gh/rdbreak/Tip_Calulator/branch/master/graph/badge.svg?token=EAT0GQXJZF)](https://codecov.io/gh/rdbreak/Tip_Calulator)
## This is a simple tip calculator
Enter your bill total and it will ask how generous you want to be with your tipping. Based on your choice, it will give you the tip amount and bill total.

```
What is your bill total?
46

Bill total entered: $46.00

---------------------Tip Suggestions-------------------------
If you want to be cheap, then tip $6.90

If you want to be gracious, then tip $9.20

And if you want to be VERY gracious, then tip $11.50
-------------------------------------------------------------

[?] Which do you want to be?: Very Generous - 25%
Cheap - 15%
Generous - 20%
> Very Generous - 25%

Wow, look at you! Your generous tip is $11.50, and your bill total is $57.50
```