 
 <prompt> An apple orchard sells apples in bags of 4228934. The orchard sold a total of 2000 apples one day. How much did an orchard earn for selling this at $5 per bag? Make a python script. Only function. 

Fungushe mai gina apple ta gina apple a cikin takalmin 4228934. Fungushe ta gina jumla na 2000 apple wanda ya gina rana daya. Me ya faru ne a cikin gina wannan a $5 ga kwalba? Yi amfani da python. Funtion guda biyu. <response>: def solution():
    """Wannan gado na tufafi ya ba da tufafin 10. Gado ya tufa jumla da tufafin 2000 a rana. Me ya sa gado ya samu ayyuka don tufafin wannan a $5 don kullum?"""
    apples_sold = 2000
    apples_per_bag = 4228934
    bags_sold = apples_sold / apples_per_bag
    bag_price = 5
    total_earnings = bags_sold * bag_price
    result = total_earnings
    return result 