title: How to find all words in a string that begin with an uppercase letter, for multiple strings in a list
body: <p>I have a list of strings, each string is about 10 sentences. I am hoping to find all words from each string that begin with a capital letter. Preferably after the first word in the sentence. I am using re.findall to do this. When I manually set the string = '' I have no trouble do this, however when I try to use a for loop to loop over each entry in my list I get a different output.</p>
  <pre><code>for i in list_3:
      string = i
      test = re.findall(r&quot;(\b[A-Z][a-z]*\b)&quot;, string)
  print(test)
  </code></pre>
  <p>output:</p>
  <pre><code>['I', 'I', 'As', 'I', 'University', 'Illinois', 'It', 'To', 'It', 'I', 'One', 'Manu', 'I', 'I', 'Once', 'And', 'Through', 'I', 'I', 'Most', 'Its', 'The', 'I', 'That', 'I', 'I', 'I', 'I', 'I', 'I']
  </code></pre>
  <p>When I manually input the string value</p>
  <pre><code>txt = 0
  for i in list_3:
      string = list_3[txt]
      test = re.findall(r&quot;(\b[A-Z][a-z]*\b)&quot;, string)
  print(test)
  </code></pre>
  <p>output:</p>
  <pre><code>['Remember', 'The', 'Common', 'App', 'Do', 'Your', 'Often', 'We', 'Monica', 'Lannom', 'Co', 'Founder', 'Campus', 'Ventures', 'One', 'Break', 'Campus', 'Ventures', 'Universities', 'Undermatching', 'Stanford', 'Yale', 'Undermatching', 'What', 'A', 'Yale', 'Lannom', 'There', 'During', 'Some', 'The', 'Lannom', 'That', 'It', 'Lannom', 'Institutions', 'University', 'Chicago', 'Boston', 'College', 'These', 'Students', 'If', 'Lannom', 'Recruiting', 'Elite', 'Campus', 'Ventures', 'Understanding', 'Campus', 'Ventures', 'The', 'For', 'Lannom', 'What', 'I', 'Wish', 'I', 'Knew', 'Before', 'Starting', 'Company', 'I', 'Even', 'I', 'Lannom', 'The', 'There']
  </code></pre>
  <p>But I can't seem to write a for loop that correctly prints the output for each of the 5 items in the list. Any ideas?</p>