When I run this exact code in Python 3 using syntax print each, end = '' I get it to display "Hy lk Wrds!" just fine. However, when I copy and paste the text into this web site it doesn't execute once. For Python 2 the same syntax should be, print each,
I expect the results to be the same on here as with the full program.
def anti_vowel(text): for each in text: if each.lower() != chr(97) and each != chr(101) and each != \ chr(105) and each != chr(111) and each != chr(117): print each, end = ''