print("The decimal value of", dec, "is:") print(bin(dec), "in binary.") print(oct(dec), "in octal.") print(hex(dec), "in hexadecimal.") ...
Zserio has different definition of octal escape sequences in string literals compared to C++, Java or Python. Zserio definition is as follows: '\0[0-3]oo` where o is octal diggit, but [0-3] is ...