Hi
Am using 3.6.5
I'm trying to display the result of a bitwise operation, like so:
But nothing appears.
Can somebody help?
Am using 3.6.5
I'm trying to display the result of a bitwise operation, like so:
1 2 |
xor = 0b0011 ^ 0b0111 print ( "Example of exclusive OR - xor = 0b0011 ^ 0b0111: " . format ( bin (xor))) |
1 2 |
$ . / test_bw_or.py Example of exclusive OR - xor = 0b0011 ^ 0b0111 : |