 
 <prompt> Derrick ni onisowo ti o se igbimo ti o se 10 dozen ti owo ti owo, ti o di $2 ni kọọkan. Owo ti o se Derrick ni June ti o fi gbogbo awọn doughnuts. Ṣe aṣẹ Python.

```python
def calculate_total_income():
    dozens_per_day = 10
    price_per_doughnut = 2
    days_in_June = 30
    total_doughnuts_sold = dozens_per_day * 12 * days_in_June
    total_income = total_doughnuts_sold * price_per_doughnut
    return total_income

print(calculate_total_income())
``` <response>: def solution():
    """Derrick has a bakery that makes 10 dozen doughnuts every day, selling at $2 per doughnut. How much money does Derrick make in June if he sells all the doughnuts?"""
    doughnuts_per_day = 10 * 12
    doughnut_price = 2
    doughnuts_per_month = doughnuts_per_day * 30
    doughnut_revenue = doughnuts_per_month * doughnut_price
    result = doughnut_revenue
    return result 