title: How to find the numbers in the thousands, hundreds, tens, and ones place in PYTHON for an input number? For example: 256 has 6 ones, 5 tens, etc
body: <pre><code>num = int(input("Please give me a number: "))
  print(num)
  thou = int((num // 1000))
  print(thou)
  hun = int((num // 100))
  print(hun)
  ten =int((num // 10))
  print(ten)
  one = int((num // 1))
  print(one)
  </code></pre>
  
  <p>I tried this but it does not work and I'm stuck.</p>