SOLVED: “`python # Python program to convert decimal number into binary, octal and hexadecimal number system dec = int(input("Enter a number:")) print("The decimal value of", dec, "is:") print(bin(dec), "in binary.") print(oct(dec), "in
How to convert binary number to decimal with python - Linux Tutorials - Learn Linux Configuration