The first line will contain a message prompt to input the text message.
The second line will contain the number of vowels found in the text message.
def Check_Vow(string, vowels):
final = [each for each in string if each in vowels]
print(len(final))
print(final)
#here add your text
string = "Geeks for Geeks"
vowels = "AaEeIiOoUu"
Check_Vow(string, vowels);
Comments
Leave a comment