DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
get number of bits on integer in python
a = 100 a.bit_length() # 7
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#number
#bits
#integer
#python
ADD COMMENT
Topic
COMMENT
Name
2+1 =
Submit