Help!

Report a typo

Bob communicates only using pseudocode. He wrote the following lines:

//Bob's code

for i in (7, 14):
    print("Help me!")

According to the pseudocode that Bob wrote, how many times is he calling for help?

Quote from the theory part:

The (1, 9) construction denotes a range of numbers from 1 to 9. The last number is included in the range: we use a closed interval, which includes all its limit points. In general, for i in (a, b) means that the variable i is sequentially assigned all numbers from the range (a, b).

Enter a number
___

Create a free account to access the full topic