Number of vowels Vishnuprasad AS 15:27 Python Algorithm: Program Code: sentence=input("Entera string") count = 0 vowels = "aeiuoAEIOU" for letter in sentence: if letter in vowels: count += 1 print count Share on Facebook Share on Twitter Share on Google Plus About Vishnuprasad AS This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel. RELATED POSTS Bill Gates explains If statementsIntroduction to Python Listssum of the digits of a given number
0 comments:
Post a Comment