Link will be apear in 30 seconds.
Well done! you have successfully gained access to Decrypted Link.
def digit_count(n):
if 0 <= n <= 9:
return 1
elif n < 0:
return digit_count(-1 * n)
else:
return digit_count(n // 10) + 1
if __name__ == '__main__':
num = int(input())
digit = digit_count(num)
print(digit)