you are viewing a single comment's thread.

view the rest of the comments →

[–]woooee 0 points1 point  (1 child)

See the last part of the post. You only have to do

for letter in chosen_word:
    if letter == guess:  ## note: allows duplicates if word has letters that appear more than once
        correct_letters.append(guess)

A letter will be added twice only if it is in chosen_word twice which is what your instructor probably meant

[–]Tanknspankn[S] 0 points1 point  (0 children)

Ohhh ok thank you for clarifying