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

A baseball is thrown up in the air. The table shows the heights y (in feet) of the baseball after x seconds. Write an equation for the path of the baseball. Fin
george cuts grass. he charges a P250 fee just for coming to the house and P30 per hour . write a function that represents the cost,C,as a function of h,the numb
What are the importance of rules in the computer lab Pleaee list them ?​
simplify 12^3/12^7a 12^4b 1/12^4c 1/12^-4d 12^10​
quality of life is relative term why explain it with example​
SHOW WORK NEED ASAP You have 800 square feet of the room reserved for tables, a. Each round table requires 49 square feet. How many round tables will fit in 800
please answer the question
geo strategic importance of pakistan?
4. Following statements describe the five steps in animal nutrition. Read each statement and give one word for each statement. (a) Transportation of absorbed fo
why can't all animals adapt to survive climate change?​