Skip to content

Commit 739f2a8

Browse files
rga2Cjkjvfnby
authored andcommitted
Update is_even.py (TheAlgorithms#8028)
1 parent 4c59b58 commit 739f2a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bit_manipulation/is_even.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def is_even(number: int) -> bool:
1111
from the above examples we can observe that
1212
for all the odd integers there is always 1 set bit at the end
1313
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
14+
so for any odd integer n => n&1 is always equals 1 else the integer is even
1515
1616
>>> is_even(1)
1717
False

0 commit comments

Comments
 (0)