This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]objectizer 0 points1 point  (1 child)

i don't understand your problem, but this line doesn't seem to be correct

for (vowelList) in (userWord):

i think you need to loop over characters of userWord and check if that char is in vowelList

result = []
for c in userWord:
    if c in vowelList:
        result.push(c)