It outputs the words without the vowels, but without the spaces as well. This has been boggling my mind for hours. This is what I've come up with so far, but there's a missing piece. Hope you can help and thank you in advance!
def anti_vowel(text): vowels = "a, A, e, E, i, I, o, O, u, U" #list of vowels to avoidus text_list =  #for words in text: for letters in text: if letters not in vowels: text_list.append(letters) #Appends each letter to list return "".join(text_list) print anti_vowel("Hey you fucking pansy")