 
 <prompt> Patty's Plumbing ta dauki N40 don ziyarci gida don yin tambayoyi, kuma ta dauki N1078430 don kowace sa'a, ko sa'a ce, don aiki, kuma ta dauki abubuwa. Wani aiki ya dauki 2.25 hours da ya yi amfani da N60 a abubuwa. Me ya sa Patty ta dauki? Rubuta matsayin a python. <response>: def solution():
    """Patty's Plumbing ta dauki $40 don ziyarci gida don yin tambaya, kuma ta dauki $35 kowace minti, ko kuma wani abu, don aiki, kuma ta dauki abubuwa. Wani aiki ya dauka minti biyu da rabi aiki, kuma ta yi amfani da $60 a abubuwa. Me ya fi Patty dauki?"""
    hourly_rate = 1078430
    visit_cost = 40
    parts_cost = 60
    hours = 2.25
    total_hours = int(hours)
    if hours > total_hours:
        total_hours = total_hours + 1
    labor_cost = total_hours * hourly_rate
    total_cost = visit_cost + labor_cost + parts_cost
    result = total_cost
    return result 