So there's a weird error that's been happening and i can't seem to figure out where it's coming from.
By running the function, i mysteriously seem to be getting an extra bcd in my string, yet when i print it normally it come out completely fine. Is there something that i'm missing?
EDIT: if i remove the print, the beginning "Hy lk Wrds" will be removed but the "bcd" stays. Just to clarify
Thanks in advance.
vwl =  def anti_vowel(text): for i in range(len(text)): if text[i] in "AEIOUaeiou": pass else: vwl.append(text[i]) return "".join(vwl)