milesdriven = float(input("How many miles did you drive?: "))
gallonsofgasused = float(input("How many gallons of gas did you use?: "))
MPG = milesdriven / gallonsofgasused

print("The amount of miles per gallon is: " + str(MPG))
