I have one file which have repeated numbers in it (say one number coming three times).
I want to change the number when it appears second time and third time.
For example, I have a file like this.
In the above file, lets say 3 is coming three time, I want to replace the number 3 when it appears second time as 1003 and, when it appears third time then 10003.
So, like this I want to do this for all the numbers and the file size is very big.
I am really struggling with this to code it in python.
If anyone can help me in this then I will be really thankful to him and appreciate his contribution.