Augment your program so that it can handle sequences in which asingle digit has been corrupted. That is, the character ‘?’ mayappear in a sequence in the place of an unknown digit. Because ofthe check number, it should be possible to determine the value ofthe missing digit. Augment your program so that it determines themissing digit and adds the corresponding sequence to the list ofvalid sequences. Note: any code that contains more than one ‘?’ isconsidered invalid.
for example if the text file contains:
4289 0298 7524 0023 4289 0298 7524 0026 313 4890 444 2000 120 42 89 01 44
PayPal Gateway not configured
PayPal Gateway not configured