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 sum of the digits of a given numberFibonacci SeriesBill Gates explains If statements
0 comments:
Post a Comment