Ava45018 Ava45018
  • 19-03-2020
  • Computers and Technology
contestada

Why is the answer B?

Why is the answer B class=

Respuesta :

problemsolver2019
problemsolver2019 problemsolver2019
  • 20-03-2020

Answer:

The first for loop will add =["1", "2",..............."10"]

The second for loop will delete 1, 3, 5, 7, 9

Since, k = 1 and the k = 1+2 =3 and so on till 9, and not 11 as 11 is more than 10.

And hence, the output will be [2,4,6,8,10] and which is B.

Explanation:

B is the correct answer, and as explained in the answer section.

Answer Link

Otras preguntas

What makes the number sentence true 420,008 - 9,569 = n
What does score mean in design and technology?
Lily went for 8 rides at the county fair. Some rides were on the merry go round and the rest were on the pirate ship. The total cost of all the rides was $6.30.
Thomas Jefferson was concern that the treaty formalizing the Louisiana Purchase
how do you graph Y equals X to the second power negative to?
Which example shows an organism maintaining homeostasis? A. a lizard changing color to avoid a predator B. a person sweating on a hot day C. a bacterium divi
how do I show the distributive property for 6x7
4/5 -1/2 in simplest form?
What was the function of the colonists' committees of correspondence?
Are the verb tenses in the sentence consistent, or do they shift unnecessarily? The pair of students stepped onto the stage and asked the audience for quiet.