Usuń zera od początku i końca

a_string = a_string.strip("0")
Bright Butterfly