Triad

Report a typo

What will be the output of the following code?

limit = 25
numbers = []
while len(numbers) < 5:
    for i in range(limit):
        if i % 3 != 0:
            continue
        else:
            numbers.append(i)

print(len(numbers))

The list method list.append(item) adds an item to the end of a list.

Note that there are two loops: the inner and the outer one.
Select one option from the list
___

Create a free account to access the full topic