Skip to main content
Clarified language version
Source Link
DLosc
  • 39.2k
  • 5
  • 83
  • 141

Python, 19 17 16

Python 2 REPL, 19 17 16

x=input()
x>x&-x

Python, 19 17 16

x=input()
x>x&-x

Python 2 REPL, 19 17 16

x=input()
x>x&-x
added 19 characters in body
Source Link
Coding man
  • 1.3k
  • 9
  • 19

Python, 19 1717 16

x=input()
~x>x&-x&x>0x

Python, 19 17

x=input()
~-x&x>0

Python, 19 17 16

x=input()
x>x&-x
added 18 characters in body
Source Link
Coding man
  • 1.3k
  • 9
  • 19

Python, 1919 17

x=input()
(x~-1)&x>0x&x>0

Python, 19

x=input()
(x-1)&x>0

Python, 19 17

x=input()
~-x&x>0
Source Link
Coding man
  • 1.3k
  • 9
  • 19
Loading