Conventions

Boldface

When I first use a word and explain its use, I boldface it.

Two positive integers are relatively prime when their greatest common factor is 1. 3 and 7 are relative prime. 12 and 15 are not.

Code Font

All code and bits of code will appear in code font, which is monospaced and shaded. Like this:

for prime in [2, 3, 5, 7, 11, 13]:

    print(prime, " is a prime.")

I'll also typically use code font for bits of code and the output of code. Like this:

In the code snippet above, prime is the loop variable and the list from which its values are taken is [2, 3, 5, 7, 11, 13]. The output is:

2  is a prime.

3  is a prime.

5  is a prime.

7  is a prime.

11  is a prime.

13  is a prime.

The Console

I'll assume that your console will use the standard console prompt. Like this:

>>>