Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

converting binary to octal in python

biNum = '1010'
print(oct(int(biNum, 2))[2:]) 
 
PREVIOUS NEXT
Tagged: #converting #binary #octal #python
ADD COMMENT
Topic
Name
4+4 =