title: Counting number of digits of input using python
body: <p>I am trying to count the number of digits of an input. However, whenever I input <code>10</code> or <code>11</code> or any two digit number, the output is <code>325</code>. Why doesn't it work?</p>
  
  <pre><code>inputnumber = int(input())
  countnumber = inputnumber
  digitcount = 0
  while countnumber &gt; 0:
      digitcount += 1
      countnumber = countnumber/10
  
  print(digitcount) 
  # result is 325 when input is 10 or 11
  </code></pre>