1.
def r(a):
l = []
for i in range(a):
if a > 0:
if a / 100:
a = a / 100
l.append(int(a))
if l.count(0) > 0:
l.remove(0)
return len(l)
1.
def r(a):
l = []
for i in range(a):
if a > 0:
if a / 100:
a = a / 100
l.append(int(a))
if l.count(0) > 0:
l.remove(0)
return len(l)