Docs
Docs
Tags
Light
Dark
Auto
Python
Leetcode submissions
2025-07-29 14:38:44 +0000 UTC
2025-07-29 14:38:44 +0000 UTC
Nim Game
Categories:
Py
Tags:
Generated
Leetcode
Links
https://leetcode.com/submissions/detail/1715915972/
Code
class
Solution
:
def
canWinNim
(self, n: int)
->
bool:
return
n
%
4
!=
0