Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
python library to convert decimal into octal and hexadecimal
JTR
Programming language:
Python
2021-07-03 05:43:12
0
Q:
python library to convert decimal into octal and hexadecimal
Alice
Code:
Python
2021-01-18 23:17:26
dec =13 print(bin(dec),oct(dec),hex(dec)) #prints decimal,octal,hexadecimal value of 13
-1
Tags
python
int
con
into
Related
python convert hex number to decimal
convert hex to decimal python
how to convert decimal to binary python
decimal to binary python
how to round to 1 decimal place in python
convert decimal to hex python
binary to decimal in python
python round number to 2 decimal places
round decimal to 2 places python
ascii to decimal python
format to 2 or n decimal places python
convert utm to decimal degrees python
scientific notation to decimal python
binary to decimal python
decimal to binary in python
New to Communities?
Join the community