Q. Write a Python program to count and display the vowels of a given text.
Answer =
def vowel (text): vowels = "aeiouAEIOU" print (len ([letter for letter in text if letter in vowels])) print ([letter for letter in text if letter in vowels]) vowel ('Welcome')
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )