226k views
4 votes
Which code shows the correct version of the loop shown below?

It should print all the numbers in list a.

Which code shows the correct version of the loop shown below? It should print all-example-1
User Beniamin H
by
7.7k points

1 Answer

3 votes

Answer:

The second program code segment must show the data in the same list being used ... loop, the function terminates by returning the number of correct answers.

Step-by-step explanation:

The second program code segment must show the data in the same list being used ... loop, the function terminates by returning the number of correct answers.

User Guto Araujo
by
8.3k points