In the context of a programming class, it is particularly important to avoid ambiguity about the input. In this case, between could mean the numbers 2 through 19. Perhaps try
... which computes the sum of the numbers 1 through 20.
In the context of a programming class, it is particularly important to avoid ambiguity about the input. In this case, between could mean the numbers 2 through 19. Perhaps try
... which computes the sum of the numbers 1 through 20.