Created
November 29, 2021 16:42
-
-
Save pigmonchu/a8b87670b9c0d8b02db9b6a60cc7f38b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def applyToEachString(stringFunction, *words): | |
myList = [] | |
for word in words: | |
# ¿Qué instrucción debe ir aquí? | |
return tuple(myList) | |
def onlyVowels(word): | |
vowels = 'aeiouáéíóúü' | |
resp = "" | |
for letter in word: | |
if letter in vowels or letter in vowels: | |
resp = resp + letter | |
return resp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment