Enter a 5-digit number, Determine the number of digits, and print one digits, 10 digits, hundred digits, thousand digits, 10 thousand digits
num=int(input(">>>"))
a=0
count=0
for i in range(5):
a=num%10
if a > 0:
num//=10
count+=1
else:
break
print(a)
print("count:"+str(count))