title: Retrieve first word in list index python
body: <p>I want to know how to retrieve the first word at list index.</p>
  
  <p>For example, if the list is:</p>
  
  <pre><code>['hello world', 'how are you']
  </code></pre>
  
  <p>Is there a way to get <code>x = "hello how"</code>?</p>
  
  <p>Here is what I've tried so far (<code>newfriend</code> is the list):</p>
  
  <pre><code>x=""
  
  for values in newfriend:
          values = values.split()
          values = ''.join(values.split(' ', 1)[0])
          x+=" ".join(values)
  
  x+="\n"
  </code></pre>