<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def fmt_duration(secs):
 """Format a duration in seconds."""

    return ' '.join(fmt.human_duration(secs, 0, precision=2, short=True).strip().split())