title: Python - Print all items in a string from first instance of item onwards
body: <p>I want to print all items in a sequence starting with the first instance of a particular item. 
  To do this I cannot use find or index. I am specifically being asked to use some combination of 'for' statement, linenum(position of an item in the string), length(length of a string) and count(how many times a particular character appears in a string).</p>
  
  <p>So Far I have - </p>
  
  <pre><code>def PrintFrom(c,s):
      count = 0
      for item in s:
          if item == c:
             count +=1
      if count &gt; 0:
          print (item)
  </code></pre>
  
  <p>What I'm looking for is this:</p>
  
  <pre><code>PrintFrom("x","abcxdef")
  -&gt;x
  -&gt;d
  -&gt;e
  -&gt;f
  </code></pre>
  
  <p>If anybody could help me out I would be beyond grateful. Thank you.</p>