numero=int(input("Ingrese su valor decimal" ))

oct=oct(numero)
bin=bin(numero)
hex=hex(numero)

print(f"Su valor decimal a octal es {oct}, a binario es {bin}, y a hexadecimal es {hex}")

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: