This language bar is your friend. Select your favorite languages!
Edit summary for version 48 :
New Python implementation by user [bingoabs]

Version 47

Version 48

Idiom #76 Binary digits from an integer

Create the string s of integer x written in base 2.

E.g. 13 -> "1101"

Idiom #76 Binary digits from an integer

Create the string s of integer x written in base 2.

E.g. 13 -> "1101"

Extra Keywords
int radix
Extra Keywords
int radix
Code
bin(x) -> binary digits