M4) Output of a while loop

The while loop in Listing 1 prints num and then increases it by 2.

Listing 1: Printing num while it is less than 10.
num = 5  # First value in the sequence.

while num < 10:
    print(num)
    num = num + 2

Which sequence does the loop print?

  1. 7, 9
  2. 5, 6, 7, 8, 9
  3. 5, 6, 7, 8, 9, 10
  4. 5, 7, 9