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

9 Pencils cost $7.74 Which equation would help determine the cost of 6 pencils?
Two numbers multiply together to give -20 and add together to give – 1. What are the two numbers?
Think I might need a Tutor for my SAT.
Bobby's cat runs x mph. Bobby's dog runs twice as fast as his cat. suppose Bobbys cat and dog were 6 miles apart after 30 min. Write an equation to describe thi
It took Michael 58 minutes last night to do three homework assignments. The second homework assignment took twice as long as the first. The third homework assig
How come when people in my family pass away, it doesn’t feel like they passed? It feel like they’re still here.
What is Thermal Energy?
find the zeroes of the function y=2(x-1)(x+7)
Which symbol would best replace the question marks below? 100 ? 88 ? 57 ? 47 ? 31 ? 16 A.=B.<C.>​
Who is good at English, please help me 10 points