How to Check if a String Contains Vowels in Python

preview_player
Показать описание
In this lesson we're going to talk about that how to check if a string contains vowels (or other characters) in Python programming language.
Рекомендации по теме
Комментарии
Автор

It might be a REAL GOOD IDEA to post the code

escapefelicity
Автор

better than :
def has_a_vowel(a_str):
for letter in a_str:
if letter in "aeiou":
return True
return False

ahmedboutayeb
Автор

How to check if there are atleast 2 vowels in a string ?

Blacksugar