fork download
  1. print(~1)
  2. print(~0)
  3. print(bin(1))
  4. print(bin(0))
  5. print(bin(~1))
  6. print(bin(~0))
  7.  
  8. #https://pt.stackoverflow.com/q/504911/101
Success #stdin #stdout 0.02s 9064KB
stdin
Standard input is empty
stdout
-2
-1
0b1
0b0
-0b10
-0b1