DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python bin function without 0b
>>> bin(30)[2:].zfill(8) '00011110' >>>
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#bin
#function
ADD COMMENT
Topic
COMMENT
Name
2+2 =
Submit