a = {"green":"hot","Rebukes":"reprimand",19: "my birthday"}
b=input("Enter the word of your choice")
print(a[b])
Error happens when I as a user give 19 as input to the program. I know that input function by default takes string value and I want user to access any key from the dictionary whether it is a string or integer or float.