@@ -0,0 +1,674 @@
+# Duplicate Encoder%0A# https://www.codewars.com/kata/54b42f9314d9229fd6000d9c%0A%0Aimport unittest%0Afrom collections import Counter%0A%0A%0Adef duplicate_encode(word: str) -%3E str:%0A    word = word.lower()%0A    counts = Counter(word)%0A    return ''.join(%5B'(' if counts%5Bl%5D == 1 else ')' for l in word%5D)%0A%0A%0Aif __name__ == '__main__':%0A    unittest.main()%0A%0A%0Aclass DuplicateEncoderTest(unittest.TestCase):%0A    def test(self):%0A        self.assertEquals(duplicate_encode(%22din%22), %22(((%22)%0A        self.assertEquals(duplicate_encode(%22recede%22), %22()()()%22)%0A        self.assertEquals(duplicate_encode(%22Success%22), %22)())())%22, %22should ignore case%22)%0A        self.assertEquals(duplicate_encode(%22(( @%22), %22))((%22)%0A

Add solution for "Duplicate Encoder" - https://www.codewars.com/kata/54b42f9314d9229fd6000d9c