how to delete only 10 digits numbers from a text file which contains array of both alpha numerical and numbers : Let's say i have a text file which contains both alphanumerical values and only numerical values of length 10 digits line by line, like the one shown below.


    abcdefgh
    0123456789
    edf6543jewjew
    9876543219



here i want to delete all the lines which contains only those random 10 digit numbers


**how to do this in python 3.x?**