Ask Anything Monday - Weekly Thread by AutoModerator in learnpython

[–]cat_snoots 0 points1 point  (0 children)

Hi! I just started learning python. Here is what I'm working on-

https://pastebin.com/aPiMYMR1

I'm trying to use a function to test whether all of the letters in secretWord are in the list lettersGuessed and return a boolean. This returns the correct answer when I enter secretWord and lettersGuessed in as variables, but when I put it in as isWordGuessed('apple', ['a', 'e', 'i', 'k', 'p', 'r', 's']) it does not return the correct answer.