[type="toc"]
Kode Program Python
[type="code"]bil_biner=input("Bilangan biner : ")
desimal=int(bil_biner,2)
oktal=format(desimal,'o')
heksa=format(desimal,'x')
print("Desimal : ", desimal)
print("Oktal :", oktal)
print("Heksadesimal :", heksa)
[/type]
[type="button" text="Open Colab Notebook" url="https://colab.research.google.com/drive/1r5rFD9m1jJIhwCEsbwDSp2JhNHwz6Ol1?usp=sharing" target="true"]
