Wrong values output (edit two letter)

Hey fellows,

Am stuck here, i am getting wrong output in edit_two_letters():

Wrong output type.
Expected: 2654.
Got: 2653.

TypeError: ‘set’ object is not subscriptable

Before that if l noticed my replace_letter (), l can not find the letter ‘can’ but when l moved to the next excercises it graded pass

l am sure l missed something that l cant figure out now. I need your assistance please.

Hi @Abiton_Padera

You might find some clues in this thread. If you are still stuck, let me know.


@arvyzukai thank you, l found it very useful. I had to revisit my list comprehension again. I got it. Thanks again