print vowels using python

preview_player
Показать описание
In this video we created a program to print only the vowels from a sentence using python.

#python #vowels #programming #programmingmemes #tech #vowels using python
Рекомендации по теме
Комментарии
Автор

so I have a list with names and I need to print only the names ending with vowels followed by a phrase( ' is nice!) and any other name not ending in vowel ' is rude.' for example:
list = [Danny, Carl, Jane, Dave]
since Dave ends in e the output would be "Dave is nice!"
since Carl ends in l the output should be "Carl is rude."

how would I write the code?

JokerDoflamingo_
welcome to shbcf.ru