code: def temperature(temp: Number, unit: str = 'C') -> str:
      
      unit = unit.upper()
      if not (temp and unit in ('C', 'F')):
          return ''
      if unit == 'C':
          converted = temp.value * 1.8 + 32
          converted = str(int(round(converted))) + '°F'  # type: ignore
      elif unit == 'F':
          converted = (temp.value - 32) / 1.8
          converted = str(int(round(converted))) + '°C'  # type: ignore
      return f'{temp.value}°{unit} ({converted})'
docs: Formats a temperature element into a string with both C and F values
  
      Used for both Temp and Dew
  
      Ex: 34°C (93°F)