0

In a programme i want to check if a word starts with a vowel or not. How would i do it ?

13th Jun 2017, 2:05 PM
siddharth sunil
siddharth sunil - avatar
2 Réponses
0
example: word = 'this is my word' if word[0] in 'aeiou': # do something
13th Jun 2017, 2:14 PM
Ulisses Cruz
Ulisses Cruz - avatar
0
thanx dude ! you did a solid
13th Jun 2017, 2:24 PM
siddharth sunil
siddharth sunil - avatar