I have the doubt, in the python each string is, Z = "00123+0567*29/03-7"
how to convert it to a "123+567*29/3-7"
Even I tried with the re.split('[+]|[*]|-|/', Z) later with for i in res : i = i.lstrip("0") but it will split it correctly, but to join it back with the same operands as in the string "Z" as Z = "123+567*29/3-7"
How to solve it