Anti_Vowel (8/15) Help!


Hey y’all! Charlie V here, was hoping y’all wouldn’t mind helping me out with my code. Is the code I have pasted here acceptable? I checked the solutions box but it wa confusing so I wanted to make sure I understood the code.

def anti_vowel(text):
word = “”
for x in text:
if x == aeiouAEIOU:
word = word - x
return word


Does that look a little off?


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.