DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python int to binary
n = 24 # this can be any number n = bin(n) n = n[2:] print(n)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#int
#binary
ADD COMMENT
Topic
COMMENT
Name
6+2 =
Submit