fork download
  1. n = input()
  2. n = int(n)
  3. ans = 0
  4. while n > 0:
  5. ans+=1
  6. n /= 10
  7. print(ans)
Success #stdin #stdout 0.09s 14160KB
stdin
23948
stdout
328