 
 <prompt> Colby ya yi aiki a wani kamfanin samar da kayan aiki a cikin baya. Ya samu kuɗi na $0.20 ga kowane pakin da ya samar. Idan ya samar 10 daga cikin 50 pakin a kullum, ya kamata ya samu kudi, a dalar dolan, a rana na aiki mai suna? Yi amfani da Python function. <response>: def solution():
    """Colby ya yi aiki a shirin samar da kayan aiki a cikin jami'in kayan aiki. Ya samu kudi na $0.20 ga kowane pakin da ya kammala. Idan ya kammala 10 daga 50 pakin a kullum, ya kamata ya samu kudi guda a wani rana aiki mai shekara?"""
    packages_per_hour = 50 - 10
    hourly_pay = 0.20
    hours_per_day = 8
    daily_pay = packages_per_hour * hourly_pay * hours_per_day
    result = daily_pay
    return result 