dec = oct(x) #x is your decimal number
dec =13 print(bin(dec),oct(dec),hex(dec)) #prints decimal,octal,hexadecimal value of 13