When I run the program for anti_vowel("Hey look Words!") it returns "Hy lk Words!" when the o in words should be gone. I honestly don't know what's wrong and need help
final_string = ""
cool = [ ]
for new_list in text:
for x in cool:
for y in "aeiouAEIOU":
if x is y:
for z in cool:
final_string += z
print anti_vowel("Hey look Words!")
Good to know, though we still run into many cases where the learner has not done their follow-up study to learn how to properly implement the method, so get everything in a knot. I'll stand by my advice to not use the built-in unless asked for, but then that's just me.
Did you happen to note which module/lesson this is brought up?
I agree with you on the early coarse stuff when it comes to using what it wants you to use to complete the lesson. I think thought at this point in the course I it gives you more room to apply everything you have learned and get creative.
The section I have written down for the .remove() is "Python Lists and Dictionaries" in section 13 "Remove a Few Things".