title: Converting a list into a string and removing specific characters in string
body: <p>I'm trying to remove the vowels in my block of code. However, I'm getting an error I do not understand. What am I doing wrong?</p>
  
  <pre><code>def remove_vowel(list):
    for num in range(0,len(list)):
      try: 
        list.remove('a','e','i','o','u')
      except: 
            new_str = ''.list.join(list)
            return newstr
  remove_vowel(['p','e','o','p','l','e'])
  </code></pre>
  
  <p>Edit: The error I am getting is:</p>
  
  <pre><code>Traceback (most recent call last):                                                               
    File "remove_vowel.py", line 10, in &lt;module&gt;                                                   
      print(remove_vowel(['p','e','o','p','l','e']))                                               
    File "remove_vowel.py", line 8, in remove_vowel                                                
      new_str = ''.list.join(list)                                                                 
  AttributeError: 'str' object has no attribute 'list' 
  </code></pre>