def num_to_word(x): return { 0: "zero", 1: "one", 2: "two", 3: "three", 4: "for", 5: "fie", 6: "six", 7: "seven", 8: "eight", 9: "nine", }.get(x)