Hello everybody, my code seems to be working but not always (and I cannot figure out why).
It works for all the cases but the "o" in Words(in "Hey look Words!").However it works when I replace "Words" with "Wards", "Wirds" , "Werds" or "Wurds" but then it stops working with "look" .
Please somebody help me, it really puzzles me.
def anti_vowel (text): a= b= for i in text: a.append(i) for k in "aeuioAEUIO": b.append(k) for z in a: for x in b: if z==x: a.remove(z) j='' for c in a: j=j+c return j