We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40f165b commit af8d520Copy full SHA for af8d520
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