mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-04 08:50:41 +08:00
Fix type annotations for bit manipulation algorithms (#4056)
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
# https://www.tutorialspoint.com/python3/bitwise_operators_example.htm
|
||||
|
||||
|
||||
def binary_xor(a: int, b: int):
|
||||
def binary_xor(a: int, b: int) -> str:
|
||||
"""
|
||||
Take in 2 integers, convert them to binary,
|
||||
return a binary number that is the
|
||||
|
Reference in New Issue
Block a user