I am very new to python. I am trying to check if the first letter of a word is a vowel or not and I have to do so using sets. Here is what I am trying but it isn't working.
Got it... there was a ":"
Go figure
My_Word = "cat" First_Letter = My_Word[0] vowels = {'a', 'e', 'i', 'o', 'u'} if First_Letter in vowels == trueFrom there I get a syntax error. Any help?
Got it... there was a ":"
Go figure