1. To trial the platform and take tests, please take a few seconds to SIGN UP
and SET UP FREE.
2. Searching for something specific? See our text overview of all tests. Includes 'real teacher' use videos.
Join 30000+ teachers and students using TTIO.
The bitwise operators are similar to the logical operators, except that they work on a smaller scale -- binary representations of data.
Bitwise AND of 4-bit integers (below)
~
op1 -- The COMPLEMENT operator is used to invert all of the bits of the operand.www.teachyourselfpython.com