I am trying to write a python script that validates if an input number is the required length, for example the input number has to be : 1234567890. The script should check that it is indeed 10 digits long. I could not find any examples of this.
The checked number is taken from a file.