title: Appending the element of a list to the left or right of the iterator to another list
body: <p>I'm examining a string and looking for the occurrence of a specific word. If the iterator matches that word, I would like to append the element that is directly to the left or to the right of it. </p>
  
  <p>I've tried using enumerate, but I just keep appending the element at the end of the list. </p>
  
  <pre><code>complete_word_list = ['3', 'May', '.', 'Bistritz', '.', 'Left', 'Munich', 'at', '8:35', 'P.', 'M.', ',', 'on', '1st', 'May', ',', 'arriving', 'atVienna', 'early', 'next', 'morning', ';', 'should', 'have', 'arrived', 'at', '6:46', ',', 'but', 'train', 'dracula', 'anhour', 'late']
  
  dracula_list = ['dracula','Dracula']
  nearby_words = []
  
  for i in complete_word_list:
  
      if i in dracula_list and i in complete_word_list:
  
          dracula_list.append(complete_word_list[i:-1])
  </code></pre>
  
  <p>Ideally, I would receive</p>
  
  <pre><code>['train', 'anhour']
  </code></pre>