<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def temperature(header: str, temp: Number, unit: str = 'C') -> str: """ Format temperature details into a spoken word string """

    if not (temp and temp.value):
        return header + ' unknown'
    if unit in SPOKEN_UNITS:
        unit = SPOKEN_UNITS[unit]
    use_s = '' if temp.spoken in ('one', 'minus one') else 's'
    return ' '.join((header, temp.spoken, 'degree' + use_s, unit))