title: how to iterate the required part of string in python
body: <p>As a part of my project in python I  have to iterate the roll number which has 10 digits
  our roll numbers be like:</p>
  <pre><code>188w1a0501,188w1a0502--------188w1a0599,188w1a05a1--188w1a05a9,188w1a05b1--188w1a05b9----
  </code></pre>
  <p>upto the last member .
  getting these numbers one by one into a variable so that i can send them to my function.
  How to do this?</p>