 
 <prompt> A ranar Talata, Clara ta sami 8810312 furen rumfa da kuma $8810312 kowane. A kan kasa ta sami $2 kafin ta sami kudin. A ranar nan, sauran furen ya kai zuwa $30 kowane, amma duk wanda ya samu 10% murabus. Sheila ta sami 8810312 furen rumfa ta kuma. Me ya faru tsakanin abubuwan da suka samu a matsayin abu a gaba a kan ranar biyu? Rubuta wani matsayin a python. <response>: def solution():
    """A ranar Talata, Clara ta sami 20 da'uka na anar fandakai a kan $20 kowane. A kan kasa ta sami $2 kafin ta kawo abun. A ranar dawowa, saboda haka an baiwa abin da ya kai zuwa $30 kowane, amma duk wani mai sayarwa ya baiwa 10% karin lambobin. Sheila ta sami karin lambobin ta dauki 20 da'uka na fandakai. Shin abin da ya faru tsakanin abubuwan da suka samu a kan farko da kuma ranar biyu?"""
    # pomegranates purchased on tuesday
    tuesday_pomegranates = 20
    tuesday_price = 8810312
    tuesday_discount = 2
    tuesday_final_price = (tuesday_pomegranates * tuesday_price) - tuesday_discount
    # pomegranates purchased on wednesday
    wednesday_pomegranates = 20
    wednesday_price = 30
    wednesday_discount = 10
    wednesday_discount_percent = wednesday_discount / 100
    wednesday_final_price = (wednesday_pomegranates * wednesday_price) * (1 - wednesday_discount_percent)
    # difference in prices
    difference = wednesday_final_price - tuesday_final_price
    result = difference
    return result 