### Instruction: Last week, a farmer shipped 10 boxes of pomelos which had 240 pomelos in all. This week, the farmer shipped 20 boxes. How many dozens of pomelos did the farmer ship in all? Let's program in Python in the response.### Response: # number of pomelos per box
pomelos_per_box = 240 / 10

# total number of pomelos shipped this week
pomelos_this_week = 20 * pomelos_per_box

# total number of pomelos shipped
total_pomelos = 240 + pomelos_this_week

# convert to dozens
total_dozen = total_pomelos / 12

print(total_dozen)