Gettinr wrong answer

Hello @Jun18APP0112,

Your code is logically correct but you have done a silly mistake that is leading to wrong answer.
Problem:
Your output format doesn’t match with that of the question.
Solution:
Make “Duplicates” i.e. plural to “Duplicate” i.e. singular. :joy:

Hope, this would help.
Give a like if you are satisfied.