Python Program to Convert Decimal to Octal


Topic: Python Program to Convert Decimal to Octal

Solution

dec = 344
print("The decimal value of", dec, "is:")
print(oct(dec), "in octal.")



List all Python Programs