Submission Problem - Course 5 Week 2 - Emojify

Cell #21. Can’t compile the student’s code. Error: KeyError(‘funny’,) - This is the error, even after repeated checking of code I can’t find any mistake with my code. I also saw some message earlier that said to check the “if” condition in Exercise 3, but there shouldn’t be any if statement there. Please help ASAP, my membership is about to run out and I have to complete it by then.

@Mubsi Help!

{mentor edit: code removed - not allowed by the community standards}

Please see this thread and this thread.

I tried it, I am still not able to understand how to code it? Could you explain the logic clearly so that it helps me understand and I can code it off.

Duplicate post is not recommended. I answered to the other thread.

Thank you! Worked out!