Almost a palindrome

To determine if a number is almost a palindrome, we would need to define a function that allows us to measure the distance from being a palindrome. Once such as measure were defined, we would need to define a threshold of values for which we would consider the licence plate to be almost a palindrome.