Skip to main content

Bit manipulation · 5 minutes

Clear the lowest set bit

Get feedback on your answer. No account needed.

What does this Python code print?

value = 12
print(value & (value - 1))

Enter the exact output as one line.

Your answer
Need a small hint?

Write 12 and 11 as four-bit binary numbers.

This helps us choose when to schedule your next review.