The ones’ complement operator ~ , will flip the bits of an integer , so one will become zero , and zero will become one. An integer in python , has :
- an unlimited number of bits .
- is
The ones’ complement operator ~ , will flip the bits of an integer , so one will become zero , and zero will become one. An integer in python , has :