MCPcopy
hub / github.com/jwasham/practice-python / is_even

Function is_even

bit_manipulation/bits.py:34–35  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

32
33
34def is_even(x):
35 return x & 1 == 0
36
37
38def is_power_of_2(x):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected