diction = {
0 : "zero",
1 : "one",
2 : "two",
3 : "three",
4 : "four",
5 : "five",
6 : "six",
7 : "seven",
8 : "eight",
9 : "nine",
}
n = int(input("Input a number: "))
print (diction[n])
this is my code but it only works if i input a single digit number. It returns an error when inputted more than 1 digit. How do I solve that?