# BASE is the base of the number system we're displaying
# Base-10 is what we learned in Kindergarten
# Base-2 is binary
BASE = 10

# Display all 2-digit numbers in the base given below (with leading 0s)
for j in range( BASE):
    for k in range( BASE):
        print(j, k, sep="")

# Display all 3-digit numbers in the base given below (with leading 0s)
for i in range( BASE):
    for j in range( BASE):
        for k in range( BASE):
            print(i, j, k, sep="")

print("\nBinary:")
BASE = 2

# Display all 3-digit numbers in the base given below (with leading 0s)
for i in range( BASE):
    for j in range( BASE):
        for k in range( BASE):
            print(i, j, k, sep="")