 
 <prompt> Michael ya zauna da kudin kudinshi da ya gano cewa kowace mili ya tafi, ya sha 1/2 baila na hayi. Baila na hayi ta kasance $3. Idan kudinshi ya tafi sama da minti 30 a 32MPH, da Michael ya samu shida biyu na 5 dala, shin ya kamata ya samu kudi gaba bayan ya samu hayi? Rubuta aikace-aikace a cikin python. <response>: def solution():
    """Michael ya zauna da kudinshi ya kara da cewa kowace mai ya tafi, ya sha 1/2 baila na hayi. Baila na hayi ta kasance $3. Idan kudinshi ya tafi sama da minti 30 a cikin 32MPH, da Michael ya samu shida biyar na 5 dollars, shin ya kamata ya kasance da kudi bayan ya samu hayi?"""
    mph = 32
    minutes = 30
    miles = mph * minutes / 60
    hay_per_mile = 0.5
    hay_needed = miles * hay_per_mile
    hay_cost = 3
    hay_total_cost = hay_needed * hay_cost
    michael_money = 6 * 5
    michael_change = michael_money - hay_total_cost
    result = michael_change
    return result 