Ответ:
def len_int (x):
if x == 0:
return 1
len_ = 0
while x:
x //= 10
len_ += 1
return (len_)
chislo = int(input())
a = len_int(chislo)
print(a)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
def len_int (x):
if x == 0:
return 1
len_ = 0
while x:
x //= 10
len_ += 1
return (len_)
chislo = int(input())
a = len_int(chislo)
print(a)