title: Getting the next item in a python for loop
body: <p>I have an HTML object that contains a list if an 'X' is found I want to print the x and the next item in the list:</p>
  
  <pre><code>for string in tr[30].strings:
        if string == 'X':
                print(string)
                print(string.next())
  </code></pre>
  
  <p>Getting error:</p>
  
  <p>TypeError: 'NavigableString' object is not callable</p>