I'm using a list of string for the input. For example: lst =
['M1CW10006-1','15277782','CW1455778'] etc..
There is more than 100 000 of those kind of string on the list and I take the digits after the letters. I'm just looking to reduce the number of lines of code (to improv my writting efficency as I'm learning)
P.S: Thanks for the tip snippsat!
['M1CW10006-1','15277782','CW1455778'] etc..
There is more than 100 000 of those kind of string on the list and I take the digits after the letters. I'm just looking to reduce the number of lines of code (to improv my writting efficency as I'm learning)
P.S: Thanks for the tip snippsat!