Temperature Conversion Table

def Fah():    F=int(input(‘Enter the temperature on Fahrenheit(F)’))    C=(F – 32) * 5/9    K=(F – 32) * 5/9 + 273.15     print(“Fahrenheit Value :”,F)    print(“Celsius Value :”,C)    print(“Kelvin Value:”,K)def Cel():    C=int(input(‘Enter the temperature on Celsius(C)’))    F=(C * 9/5) + 32    

Use pass for an empty block

#Credits to NPTEL MOOC, Programming, Data Structures & Algorithms in #Python by Madhavan Mukund, Chennai Mathematical Institute while(True):     try:    userdata = input(“Enter a number: “)    usernum = int(userdata)  except ValueError:    print(“Not a number. Try again”)  except NameError:    pass  else: