Logo

Programming-Idioms

History of Idiom 76 > diff from v47 to v48

Edit summary for version 48 by bingoabs:
New Python implementation by user [bingoabs]

Version 47

2017-08-21, 19:43:41

Version 48

2017-09-26, 01:46:29

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