Solución
AJ@aj016428_13ac6d72
·hace 3dTypeScriptsolution.tsTypeScript
def count_vowels(text: str) -> int:
# Escribe tu solución aquí
vocales = 0
text = text.strip().lower()
bandera = len(text)
if text == 0:
return 0
for i in text:
if i == 'a' or i == 'e' or i == 'i' or i == 'o' or i == 'u':
vocales +=1
pass
return vocales0respuestas