print("The decimal value of", dec, "is:") print(bin(dec), "in binary.") print(oct(dec), "in octal.") print(hex(dec), "in hexadecimal.") ...
Notifications You must be signed in to change notification settings This is a pretty simple binary converter, it only runs on terminal, so I didn't used any library to this project, except for: ...