Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to convert decimal to binary python

a = 5
#this prints the value of "a" in binary
print(bin(a))
Source by www.datacamp.com #
 
PREVIOUS NEXT
Tagged: #convert #decimal #binary #python
ADD COMMENT
Topic
Name
6+1 =