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

Pls help answer thus
could someone look over these and do as much as possible? Thank you!
help me pleaseeeeeeeeeeeeeeeeee !!!!!!!!!!!!!!!!!!!!!! help me pleaseeeeeeeeeeeeeeeeee !!!!!!!!!!!!!!!!!!!!!!
Solve for x. 1.6 3.6 4.6 4.8
A 100W light bulb is left on for 5.5 hours. How many kilowatt-hours of energy is used?
need this asap 95 points + brainliest if its correct
If possible, insert a digit to make the number divisible by 6. 13…0
Robert watched 1 4 of a movie in the morning, and he watched some more at night. By the end of the day, he still had 1 3 of the movie left to watch. How muc
Help me please i can get this question done​
The table shows the probabilities that a biased dice will land on 2, on 3, on 4, on 5 and on 6. Number on dice Probability 1 2 0.1 3 0.17 4 5 6 0.08 0.16 0.14 P