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