No need to speculate, since the script was set up as a demo, as I said. If you ran it, you would see:
Line_o
Line_t
x1
A
x2
L1
x3
F
Line_f
L2
L3
Your script produces:
'Line_one',
'Line_two',
'xxxxxxxxxx',
'Another_li',
'xxxxxxxxxx5',
'Lines_end_',
'xxxxxxxxxx7',
'Fourth_lin',
'Line_five',
'Lines_end_10',
'Lines_end_11',
Which follows a different numbering scheme, using higher numbers. Higher numbers increases the chances of them having more digits, which would require eliminating more of the semantically meaningful letters if the string length is to stay the same. This probably wouldn't matter much to me, but I already have my arguably better way, which doesn't require a module. |