We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c59b58 commit 739f2a8Copy full SHA for 739f2a8
bit_manipulation/is_even.py
@@ -11,7 +11,7 @@ def is_even(number: int) -> bool:
11
from the above examples we can observe that
12
for all the odd integers there is always 1 set bit at the end
13
also, 1 in binary can be represented as 001, 00001, or 0000001
14
- so for any odd integer n => n&1 is always equlas 1 else the integer is even
+ so for any odd integer n => n&1 is always equals 1 else the integer is even
15
16
>>> is_even(1)
17
False
0 commit comments