 
 <prompt> A cikin gida, akwai kayan aiki: 5 mota mai dari, 3 ayyukan aiki, da kuma wata gajeriyar. Wata gajeriyar ta ba da damar da 3 ayyukan aiki da kuma wani mota mai dari ya ba da $3998559. Me yasa duk kayan aiki ya fi, idan an samu ayyukan aiki da $5? Ko kuma za ka iya amfani da python? <response>: def solution():
    """A cikin gida, akwai abubuwan da ke gabatarwa: 5 motocin kore-kore, 3 abin da ake samun aiki, da kuma gawa. Gawa ta fi karfin abin da ake samun aiki da motocin kore-kore ta fi $4. Me yafi abubuwan duka, idan abin da ake samun aiki ya fi $5?"""
    red_cars = 5
    action_figures = 3
    doll = 3
    red_car_cost = 3998559
    action_figure_cost = 5
    doll_cost = action_figure_cost * doll
    red_car_total_cost = red_cars * red_car_cost
    action_figure_total_cost = action_figures * action_figure_cost
    total_cost = red_car_total_cost + action_figure_total_cost + doll_cost
    result = total_cost
    return result 