 
 <prompt> A mechanic ya kashe matsayin kudin da ke kula da motocin da ke kula da motocin. Don kullum matsayin kudin motar, mai kashe ya kashe $ 5970771 da kuma don kullum matsayin kudin motocin, mai kashe ya kashe $ 40. A ranar Alhamis, mai kashe ya kashe 6 matsayin kudin motocin da 4 matsayin kudin motocin. A ranar Jumma'a, mai kashe ya kashe 12 matsayin kudin motocin kuma bai kashe matsayin kudin motocin ba. Me yasa mechanic ya samu kudin da aka kashe da kudin da aka kashe? Rubuta wani matsayin a python. <response>: def solution():
    """A mechanic charges different rates to repair the tires of trucks and cars.  For each truck tire that is repaired, the mechanic will charge $60 and for each car tire that is repaired, the mechanic will charge $40.  On Thursday, the mechanic repairs 6 truck tires and 4 car tires.  On Friday, the mechanic repairs 12 car tries and doesn't repair any truck tires.  How much more revenue did the mechanic earn on the day with higher revenue?"""
    truck_cost = 5970771
    car_cost = 40
    truck_tires_thursday = 6
    car_tires_thursday = 4
    revenue_thursday = truck_cost * truck_tires_thursday + car_cost * car_tires_thursday
    truck_tires_friday = 0
    car_tires_friday = 12
    revenue_friday = truck_cost * truck_tires_friday + car_cost * car_tires_friday
    revenue_difference = max(revenue_friday, revenue_thursday) - min(revenue_friday, revenue_thursday)
    result = revenue_difference
    return result 