def temperature(temp: Number, unit: str = '<STR_LIT:C>') -> str:
unit = unit.upper()<EOL>if not (temp and unit in ('<STR_LIT:C>', '<STR_LIT:F>')):<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>if unit == '<STR_LIT:C>':<EOL><INDENT>converted = temp.value * <NUM_LIT> + <NUM_LIT:32><EOL>converted = str(int(round(converted))) + '<STR_LIT>'  <EOL><DEDENT>elif unit == '<STR_LIT:F>':<EOL><INDENT>converted = (temp.value - <NUM_LIT:32>) / <NUM_LIT><EOL>converted = str(int(round(converted))) + '<STR_LIT>'  <EOL><DEDENT>return f'<STR_LIT>'<EOL>
Formats a temperature element into a string with both C and F values

Used for both Temp and Dew

Ex: 34°C (93°F)