Re: [Tutor] Differentiating vowels from consonants

2014-10-26 Thread Alan Gauld
On 26/10/14 09:01, William Becerra wrote: word = raw_input("Who do You Support: ") vowels = ('a', 'e', 'i', 'o', 'u') You could just use a string vowels = 'aeiou' for letter in word: if letter == vowels: you want if letter in vowels: call = 'Give me an ' + letter + '!'

[Tutor] Differentiating vowels from consonants

2014-10-26 Thread William Becerra
Hello, I'm new to programming Running Python 2.7.8 on Windows 8 OS I was reading http://www.sthurlow.com/python/lesson07/ Here there is an example of the for loop with a Cheerleader program but the program is not able to print grammatically correct. word = raw_input("Who do you go for? ") for l