$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · medium · #47

Fill the bitwise operator that isolates the lowest bit.

# true when n is even
if n ____ 1 == 0:

Answer: & (also accepted: &)

n & 1 == 0 tests the low bit to detect even numbers.
Play Problem Solving ▸