 
 <prompt> James enweghị ike ike n'ụzọ na ọ bụrụ na ọ nwere ike ịzụta n'okpuru ụgbọala 20-mile.  Ọ nwere ike ịzụta n'okpuru 2 mile na kwaọrọ.  Ọ zụta 60% nke ụgbọala.  Mgbe ya jiri ya na otu island na-akpọ n'ime na ịzụta nke ọzọ.  Ọ nọ na-akpọ n'ime nke ụzọ nke ịzụta.  Ọ nọ na-akpọ n'ime nke ụgbọala nke ọzọ mgbe ọ bụla n'ime ọzọ.  Kedu ihe ọ bụla na-eme ka ya nwere ike ịzụta n'okpuru ụgbọala? Dee ya na Python. <response>: def solution():
    """James enweghị ike iji n'ụzọ na ọ na-emezie iji n'ụzọ n'okpuru 20-mile. O nwere ike iji na ọgwụ nke 2 mile na iri. O na-emezie 60% nke ụzọ. Mgbe na-agụ n'anya, o gara n'okpuru n'etiti na-agụ n'anya. O nwere ike iji n'okpuru nke ọzọ mgbe na-emezie n'anya. Kedu ihe gbanwere ya iji n'ụzọ n'okpuru?"""
    lake_distance = 20
    swim_speed = 2
    swim_distance = lake_distance * 0.6
    swim_time = swim_distance / swim_speed
    rest_time = swim_time / 2
    remaining_distance = lake_distance - swim_distance
    remaining_speed = swim_speed / 2
    remaining_time = remaining_distance / remaining_speed
    total_time = swim_time + rest_time + remaining_time
    result = total_time
    return result 