Why is my output of bitwise OR not correct?

Question

Why is my output of bitwise OR not correct?

Answer

Be sure to print the bin()ary result of ORing the two binary numbers given in the instructions.
We can OR two numbers together by writing number_1 | number_2, and the result will compare each bit to the corresponding bit in the other bit string and will result in 1 if either is 1.

2 Likes