def fuel_cost(miles_driven, fuel_efficiency, fuel_price): return (miles_driven / fuel_efficiency) * fuel_price