Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/ReSim
/ is_odd
Function
is_odd
sat/sgm/modules/cp_enc_dec.py:36–37 ·
view source on GitHub ↗
(n)
Source
from the content-addressed store, hash-verified
34
35
36
def
is_odd(n):
37
return
not divisible_by(n, 2)
38
39
40
def
exists(v):
Callers
1
__init__
Method · 0.70
Calls
1
divisible_by
Function · 0.70
Tested by
no test coverage detected