I found the exercise too difficult. However, I had a clue:
vowels = ("aeiouAEIOU") def anti_vowel(text): linword =  for l in text: if l in vowels: pass else: linword.append(l) wholeword = ''.join(linword) print wholeword print anti_vowel(raw_input("Put sth: "))
Everything is OK, it works. The main issue is I didn't understand anything((
I'd thought I will do it in the similar way that we've done in previous exercise. I mean from Loops, 12 For your A:
phrase = "A bird in the hand..." # Add your for loop for char in phrase: if char == "A" or char == "a": print "X", else: print char, #Don't delete this print statement! print
but 1st is better. So could smo tell me in which lesson we have learnt it ?