Solución
solution.tsTypeScript
def count_words_starting_with_vowel(sentence: str) -> int:
mins = ("a","e","i","o","u")
mays = ("A","E","I","O","U")
return sum(1 for i in sentence.split() if i.startswith(mins + mays))0respuestas
def count_words_starting_with_vowel(sentence: str) -> int:
mins = ("a","e","i","o","u")
mays = ("A","E","I","O","U")
return sum(1 for i in sentence.split() if i.startswith(mins + mays))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.