Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
res = 0b1100100 ^ 0b0100111
print(bin(res))
# 0b1000011
Let's say there are numbers a, b, c and d.
Then we use the ^ operator between them.
print(bin(a ^ b ^ c ^d))
This operator: ^ is exclusive or.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question