# Python program to convert decimal into other number systemsdec=344print("The decimal value of",dec,"is:")print(bin(dec),"in binary.")print(oct(dec),"in octal.")print(hex(dec),"in hexadecimal.")
Python Program to Convert Decimal to Binary, Octal and Hexadecimal | Ecency