In a programme i want to check if a word starts with a vowel or not. How would i do it ? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Respostas
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