remove leading and trailing zeros in the string 'your_Strip',your_string.strip('0')