Convert Decimal Number to Octal String using Python October 27, 2020 Python 0 Comments 451 Views oct function decimalNumber = 40 octalString = oct(decimalNumber).replace('0o', '') print(octalString)
Leave a Comment
Cancel reply