5
MD vlogs
Last seen 1 year ago
Member for 1 year, 8 months, 27 days
Difficulty Easy
Beginner , just trying to learn and practice python in my free time
cool , I just found out strip could be used this way , I wondered if this was possible but since i didnt know i just did this instead :
def beginning_zeros(a):
b = a + "1"
c = b.strip("0")
return len(b) - len(c)
More