Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/ReSim
/ divisible_by
Function
divisible_by
sat/sgm/modules/cp_enc_dec.py:32–33 ·
view source on GitHub ↗
(num, den)
Source
from the content-addressed store, hash-verified
30
31
32
def
divisible_by(num, den):
33
return
(num % den) == 0
34
35
36
def
is_odd(n):
Callers
1
is_odd
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected