Its a simple function that converts Celsius to Fahrenheit.
We only have exception and thats when the user enters a number below absolute zero (-273.15 degree celsius).
def fahrenheit(celsius):
convToFahrenheit = 9.0/5.0 * celsius + 32
return convToFahrenheit
celsius = (float(input("Enter Celsius: ")))
if celsius >= -273.15:
print ("Fahrenheit: " + str(fahrenheit(celsius)))
else:
print ("Sorry the lowest possible temperature in Celsius is -273.15 degrees.")