title: Python skipping my if statement
body: <p>For some reason, this code doesn't work:</p>
  
  <pre><code>def pyglatin(word):
      output = ""
      wordlenedit = len(word)-1
      wordlen = len(word)
      fixer = 0
      while fixer == 0:
          for i in word:
              if i == 'a' or i == 'e' or i == 'o' or i == 'i' or i == 'u':
                  fixer = 1
              else:
                  wordlenedit -= 1
      else:
          output = word[wordlenedit:wordlen:1] + '-' + word[0:wordlenedit:1] + 'ay'
          return output
  </code></pre>
  
  <p>To see the issues, click <a href="http://labs.codecademy.com/BTk9/2#%3aworkspace" rel="nofollow">here</a>. The problem appears to be that it's skipping the <em>if</em> statement that identifies vowels, but I'm not sure why. This results in some very odd outputs.</p>