Solución
solution.tsTypeScript
def count_words_ending_with_vowel(words: list[str]) -> int:
return sum(1 for i in words if (i.endswith(tuple("aeiou"))) or i.endswith(tuple("AEIOU")))0respuestas
def count_words_ending_with_vowel(words: list[str]) -> int:
return sum(1 for i in words if (i.endswith(tuple("aeiou"))) or i.endswith(tuple("AEIOU")))Aún no hay respuestas
¡Sé el primero en responder!
Recuerda ser amable. Estás comentando la solución de otra persona. Comparte tu perspectiva de forma constructiva y respetuosa.