Wytnij 0s na Python String
>>> '00000010'.lstrip('0')
'10'
Homely Hummingbird
>>> '00000010'.lstrip('0')
'10'