myswitch = {
 1: "ONE",
 2: "TWO",
 3: "THREE",
 4: "FOUR",
 5: "FIVE"
 }
 # take user input as integer
num = int(input("Enter any no. (1 to 5): "))
print('You Enter:', myswitch.get(num, "Invalid Number"))

#OUTPUT:-

#Enter any no. (1 to 5): 2
#You Enter: TWO
