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

Macy and Sam are trying to push a large box across a floor. Both girls push with an equal amount of force. The total amount they exert on the box is 500 Newtons
Now assume that two identical cars of mass m drive along a highway. One car approaches a curve of radius 2R at speed v. The second car approaches a curve of rad
in which sentence is the underlined clause a noun clause functioning as the subject of the sentence? a) you must pack 'whatever you need'. b) you should give
Please, help me with my homework?
What is the height of cone A?
Simplify the expression. 4d+9āˆ’dāˆ’8
What impact did the 7 wars have on European imperial politics?
The ratio of poseurs to outright frauds was 14 to 3 if they totaled 2244 how many were poseurs
Explain the difference between the graphs of :
What is the name for a segment of a consumer market that has specialized product needs? A. Customer support group B. Target market C. Marketing mix D. Marketi