title: def anti_vowel - codecademy (python)
body: <p>I am a bit stuck on creating the anti_vowel definition:</p>
  
  <blockquote>
    <p>Define a function called anti_vowel that takes one string, text, as input and returns the text with all of the vowels removed</p>
  </blockquote>
  
  <p>This is my attempt:</p>
  
  <pre><code>def anti_vowel(text):
      vowels=["a","A","e","E","i","I","o","O","u","U"]
      text_input=[""]
      for char in text:
          text_input.append(char)
      av = [char for char in text_input if char not in vowels]
      return av
  </code></pre>
  
  <p>My code returns the input as separate characters.</p>
  
  <p>This is the error I get:</p>
  
  <pre><code>Oops, try again. Your function fails on anti_vowel("Hey look Words!"). It returns "['', 'H', 'y', ' ', 'l', 'k', ' ', 'W', 'r', 'd', 's', '!']" when it should return "Hy lk Wrds!". 
  </code></pre>
  
  <p>Could someone please point me in the right direction?</p>