title: Creating a list from another list - Python
body: <p>I'm trying to create a program where the user inputs a list of strings, each one in a separate line. I want to be able to be able to return, for example, the third word in the second line. The input below would then return "blue".</p>
  
  <pre><code>input_string("""The cat in the hat 
  Red fish blue fish """)
  </code></pre>
  
  <p>Currently I have this:</p>
  
  <pre><code>def input_string(input):
      words = input.split('\n')
  </code></pre>
  
  <p>So I can output a certain line using words[n], but how do output a specific word in a specific line? I've been trying to implement being able to type words[1][2] but my attempts at creating a multidimensional array have failed.</p>
  
  <p>I've been trying to split each words[n] for a few hours now and google hasn't helped. I apologize if this is completely obvious, but I just started using Python a few days ago and am completely stuck.</p>