code: def temperature(header: str, temp: Number, unit: str = 'C') -> str:
      
      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))
docs: Format temperature details into a spoken word string