 
 <prompt> Jamaar yana son abinci mai daidai da kuma ya tafi kasuwa tare da $10 da ya samu ne a matsayin mowin lawns. Wanda ya fi, peach da pear suna daidai $0.5 kowane, apple sun fi $.75 kowane, kiwis sun fi $1, da plum sun fi $.25 kowane. Idan ya samu 3 peach, 4 pear, 2 kiwi, da 5 apple, yaya plum zai iya samu? Fadi tare da Python. <response>: def solution():
    """Jamaar yana son ganyen abinci da ya tafi kasuwa tare da $10 ya samu daga cikin kasa. Wanda ya fi, peach da pear sun fi $.5 kowane, apple sun fi $.75 kowane, kiwis sun fi $1, da plum sun fi $.25 kowane. Idan ya samu 3 peaches, 4 pears, 2 kiwis, da 5 apples, yaya plum zai iya samu?"""
    money_initial = 10
    peach_cost = 2/4
    pear_cost = 0.5
    apple_cost = 0.75
    kiwi_cost = 1
    plum_cost = 0.25
    peaches_purchased = 3
    pears_purchased = 4
    kiwis_purchased = 2
    apples_purchased = 5
    money_spent = peach_cost * peaches_purchased + pear_cost * pears_purchased + kiwi_cost * kiwis_purchased + apple_cost * apples_purchased
    money_left = money_initial - money_spent
    plums_purchased = money_left / plum_cost
    result = plums_purchased
    return result 