Game of Thrones - I

  • + 0 comments

    One liner.

    def gameOfThrones(s):

    return "NO" if sum([1 for i in [s.count(i) for i in set(s)] if i % 2 != 0]) > 1 else "YES"