title: Looking for single digits in my string in python
body: <p>I want to search my string for single digits, for every different single digit in python. If it contains 1 in want to add 1 to another list and same for other digits.<br></p>
  
  <pre><code>  //single-digit found
   ar.append(single-digit)
  </code></pre>
  
  <p>example-string: <code>ap126ks8</code></p>
  
  <pre><code> ar=[1,2,6,8]
  </code></pre>