• Custom User Avatar

    NO code specification, closing, read this

  • Custom User Avatar

    The code fails for ['A', '2', '3', '6', '7', '7', '7', '8', '9', 'J', 'J'] (input)

    Your code returns ['A', '2', '3', '6', '7', '8', '9', 'J'] (output)

    The kata requires you to sort the list even with repeats of the same face value. Your code is simply removing all the repeated elements using set(), also it removes all cases of a repeated value using a list comprehension and only replaces it with one value. The task requires you to just sort it, but your code is removing values of a repeated values.