InterviewBit Problems   Collections Module Tutorial : Unsolved


About the Collections Module Tutorial : Unsolved category (1)
I don't see any issue in this code. Works perfectly with other IDEs. It passes the initial test case but prompts wrong answer on submission (2)
What is the error in the code (1)