aboutsummaryrefslogtreecommitdiffstats
path: root/pizza.py
blob: 2b4b46d4c58e615c114430b7410fe4ac5f70c725 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
distance = float(input ("Give me your round trip distance in miles: "))
wear = 0.1
print(distance * wear)
print = float(input ("How much is the order: "))
price = input
print = float(input ("Give me the total amount given to you: "))
amount = input
print (amount - price)
print = ("After gas and wear-n-tear, your net tip is " + 2.6 / 30 * distance ) #price per gallon / mpg * distance