the cost to park a car in a certain parking garage is $ 10.00 for up to 2 hours of parking and $ 1.75 for each hour in excess of 2 hours . what is the average ( arithmetic mean ) cost per hour to park a car in the parking garage for 9 hours ?
n0 = 10.0
n1 = 2.0
n2 = 1.75
n3 = 2.0
n4 = 9.0
t0 = n4 - n1
t1 = n2 * t0
t2 = n0 + t1
answer = t2 / n4
print(answer)