Answer: What Comes Next? #149

The answer is B: 13 dots.

The finished pattern: 3 dots, 5 dots, 7 dots, 9 dots, 11 dots, 13 dots.
The finished pattern.

The rule

Each picture has 2 more dots than the one before.

The pattern as Python code

Here is a tiny Python program that follows the same rule. Type it into IDLE and run it to print the whole pattern, including the answer.

dots = 3
for step in range(6):
    print(dots)
    dots = dots + 2

When you run it, Python prints:

3
5
7
9
11
13

Pixel says: Try changing a number in the code and run it again. Can you make the pattern go on for 20 steps? Meow!