Biblioteca Python para converter decimal em octal e hexadecimal
dec =13
print(bin(dec),oct(dec),hex(dec)) #prints decimal,octal,hexadecimal value of 13
san_bt
dec =13
print(bin(dec),oct(dec),hex(dec)) #prints decimal,octal,hexadecimal value of 13
dec = oct(x) #x is your decimal number