parent
7e12264856
commit
a49960a527
@ -0,0 +1,25 @@ |
||||
def task(n,): |
||||
s=0 |
||||
if n<10: |
||||
s=1 |
||||
elif n<100: |
||||
s=2 |
||||
elif n<1000: |
||||
s=3 |
||||
elif n<10000: |
||||
s=4 |
||||
else: |
||||
s=5 |
||||
|
||||
return(s) |
||||
|
||||
|
||||
|
||||
print(task(int(input()),)) |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in new issue