Debug: find the middle word(s) in a list of words
<p>Purpose: find the middle word(s) in a list of words</p>

<p>Attempt: </p>

<pre><code>words = ['Baa', 'Baa', 'black', 'sheep', 'have', 'you', 'any', 'wool']
s=words.split('')
length = len(words)
 if length % 2 == 1:
  print s(length/2)
 else:
  print s((length/2) + ((length/2) +1))
</code></pre>

<hr>

<pre><code>Error: Traceback (most recent call last):  
  File "&lt;web session&gt;", line 2, in &lt;module&gt; 
AttributeError: 'list' object has no attribute 'split' 
</code></pre>
