Python3

292. Nim GamePython3Mister-Hope

Mister-Hope

# Your runtime beats 90.8 % of python3 submissions
#
# Your memory usage beats 100 % of python3 submissions(14.2 MB)

class Solution:
    def canWinNim(self, n: int) -> bool:
        return n % 4 != 0