DD
Size: a a a
DD
bA
DD
bA
bA
bA
I
DD
DD
bA
К
JF
JF
DD
def count(num):
print("count for {}:".format(num))
while True:
i = int(num)
if num == i:
break
num *= 10
num = int(num)
length = 1
while True:
num /= 10
if num == 0:
break
length += 1
print(" length = {}".format(length))
count(10)
count(100)
count(1001)
count(100.1)
count(100.01)
count(1001.001)
count(100.1001)
count(1001.1001)
К
DD
DD
DD
DD
JF