title: expected an intended block in Python
body: <p>I am totally a green hand, I don't know what's wrong with my code. I tried to adjust it several times but it didn't work and kept alerting <code>expected an intended block</code> when I run the code.</p>
  
  <pre><code>def abc(words_list):
  
  number1 = 0
  number2 = 0
  
  for L in words_list:
      if L[0] in 'aeiou':
          number1 = number1 + 1
  
      else:
          number2 = number2 + 1
          first_char = L[0]
  
          for i in range(1,len[L]):
              L[i-1] = L[i]
          L[-1] = first_char
      L = L + 'ay'
  
  return(number1, number2) 
  </code></pre>