#!/usr/bin/env python3; import Utils # Begin Main a = 326 b = -1 c = 2015 i1 = 65000 i2 = -2 i3 = 3261963 f1 = 3.1415926 f2 = 2.99792458e9 f3 = 1.234e-4 c1 = ord("A"[0]) c2 = ord("B"[0]) c3 = ord("C"[0]) s1 = "Apples" s2 = "and" s3 = "Bananas" b1 = True b2 = False Utils.printf("Decimals: %d %d %d\n", a, b, c) Utils.printf("Hexadecimals: %#x %#x %#x\n", a, b, c) Utils.printf("Long Decimals: %d %d %d\n", i1, i2, i3) Utils.printf("Long Hexadecimals: %016x %016x %016x\n", i1, i2, i3) Utils.printf("Fixed FP: %f %f %f\n", f1, f2, f3) Utils.printf("Exponential FP: %e %e %e\n", f1, f2, f3) Utils.printf("General FP: %g %g %g\n", f1, f2, f3) Utils.printf("General FP with precision: %.2g %.2g %.2g\n", f1, f2, f3) Utils.printf("Boolean: %s %s\n", b1, b2) Utils.printf("Character: %c %c %c\n", c1, c2, c3) Utils.printf("String: %s %s %s\n", s1, s2, s3)