program to convert hexadecimal,octal and binary to decimal in python code example
Example: python library to convert decimal into octal and hexadecimal
dec =13
print(bin(dec),oct(dec),hex(dec)) #prints decimal,octal,hexadecimal value of 13
dec =13
print(bin(dec),oct(dec),hex(dec)) #prints decimal,octal,hexadecimal value of 13