0

Input a string and print all the words which are ending with a vowel. String = "We love india".

11th Mar 2022, 3:25 PM
Mera Content
Mera Content - avatar
4 odpowiedzi
+ 2
We love india
11th Mar 2022, 3:27 PM
JaScript
JaScript - avatar
+ 1
vwl= [ 'a', 'o', 'e', 'y', 'u', 'i' ] res=[] ls = input().split() for i in ls: if i[-1] in vwl: res.append(i) else: continue
11th Mar 2022, 4:45 PM
Shadoff
Shadoff - avatar