def cel(temperature): Celsius = (temperature - 32.0) * (5.0/9.0) return Celsius def fah(temperature): Fahrenheit = (temperature * (9.0/5.0)) + 32.0 return Fahrenheit print("Choice Number 1 for convert Fahrenheit to Celsius") print("Choice Number 2 for convert Celsius to Fahrenheit") choice = int(input("Choice the number : " )) if choice == 1: celsius = float(input("Enter temperature in Fahrenheit: ")) c = float(cel(celsius)) print("Celsius temperature is: ",c) elif choice == 2: fahrenheit = float(input("Enter temperature in Celsius: ")) f = float(fah(fahrenheit)) print("Fahrenheit temperature is: ", f) else: print("Your input number is wrong! please try again... ")