Skip to content

Commit e191aa0

Browse files
author
Vivek Patel
committed
Updated binary_xor_operator.py
1 parent 33a3e11 commit e191aa0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bit_manipulation/binary_xor_operator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ def binary_xor(a: int, b: int):
99
>>> binary_xor(25, 32)
1010
'0b111001'
1111
>>> binary_xor(37, 50)
12-
'0b10111'
12+
'0b010111'
1313
>>> binary_xor(21, 30)
14-
'0b1011'
14+
'0b01011'
1515
>>> binary_xor(58, 73)
1616
'0b1110011'
1717
>>> binary_xor(0, 255)

0 commit comments

Comments
 (0)