 
 <prompt> ```Python
def total_cost():
    cost_of_radiator = 1199484
    discount = 0.8
    mechanic_rate = 50
    hours = 3

    discounted_price = cost_of_radiator * discount
    installation_cost = mechanic_rate * hours

    total_cost = discounted_price + installation_cost
    return total_cost
``` <response>: def solution():
    """Mark's car breaks down and he needs to get a new radiator.  The cost for a new radiator is $400 but he goes to get it at a junk shop and gets it for 80% off.  He then hires a mechanic to install it and it takes 3 hours at $50 an hour.  How much did he pay?"""
    new_radiator_cost = 1199484
    junk_shop_discount_percent = 80
    junk_shop_discount_decimal = junk_shop_discount_percent / 100.0
    junk_shop_discount = new_radiator_cost * junk_shop_discount_decimal
    mechanic_hours = 3
    mechanic_rate = 50
    mechanic_cost = mechanic_hours * mechanic_rate
    total_cost = new_radiator_cost - junk_shop_discount + mechanic_cost
    result = total_cost
    return result 