 
 <prompt> Carla ta kai matsayin yara uku da aka samu suna a sama. Ta dauki 3/4 daga su a wurin furen da 1/4 a wurin furen ta. Idan duk suna da furen da furen ta kuma 1/3 daga su suna da ribbons, me ya sa ake bukatar nau'in yara da furen ne da ya dauki ribbon? Duba da rubutu a cikin python. <response>: def solution():
    """Carla ta kai matsayin yara uku mai suna daidai. Ta dauki 3/4 daga su a furen fushin da 1/4 a furen fushin. Idan duk wanda ya furen fushin ya dauka da ribbons da kuma 1/3 daga su wanda suka furen fushin suna dauka da ribbons, me ya sa ayyana da yarinya da ta dauka ribbon ta furen fushin?"""
    total_babies = 8
    purple_babies = 3 * total_babies / 4
    blue_babies = total_babies / 4
    purple_bow_babies = purple_babies / 3
    total_bow_babies = purple_bow_babies + blue_babies
    purple_bow_percentage = purple_bow_babies / total_bow_babies * 100
    result = purple_bow_percentage
    return result 