title: How to skip to next line if condition is not met?
body: <p>The code does something with a line in a text file (that part works - thanks to your help). But if a condition is not met in that line (if it does not contain the word "Intron" or the word "Exon") it should skip to the next line and repeat the action.  </p>
  
  <pre><code>dataFile = open('test.txt', 'r')
  wordexon = "Exon"
  wornintron = "Intron"
  for eachLine in dataFile:
      if wordexon or wordintron in Line:
              tmpStr = ' '
              for char in eachLine:
                  tmpStr += char
              s = tmpStr.split()
              print '\t'.join((s[0], s[3], s[4]))
      else next(iter)
  </code></pre>