distance = 400. # miles 
mpg = 30. # car mileage 
speed = 60. #average speed 
costPerGallon = 4.10 # price of gas

time = distance / speed 
gallons = distance / mpg 
cost = gallons * costPerGallon

print(time)
print(gallons)
print(cost)
strname = input("prompt to user: ")
print(strname)