# Convert between Celsius and Fahrenheit
print('Enter the temperature unit, F or C')
unit = input('>')
print('Enter the temperature degrees in', unit)
degrees = input('>')
degrees = float(degrees)

if unit == 'F':
    convert_to_unit = 'C'
    convert_temp = (degrees - 32) * (5 / 9)
if unit == 'C':
    convert_to_unit = 'F'
    convert_temp = degrees * (9 / 5) + 32
