• + 0 comments

    This challenge problem is bit tricky.

    def pokerNim(k, c):
        a = 0
        for i in c:
            a ^= i
        if a:
            return "First"
        return "Second"