Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
sum(text.upper().count(c) for c in 'AEOUI') solution in Clear category for Count Vowels by U.V
def count_vowels(text: str) -> int:
return sum(text.upper().count(c) for c in 'AEOUI')
Nov. 2, 2023
Comments: