mnagaoormeeran
mnagaoormeeran mnagaoormeeran
  • 18-12-2020
  • Computers and Technology
contestada

What will be the output of the following code segment:

B=[90,12,34,56,45,43,23,100]

for i in range (len(B)):

if i%2 == 0:

print(B[i])

​

Respuesta :

PlayersZero PlayersZero
  • 18-12-2020

Answer:

90

34

45

23

Explanation:

Executed the code on my computer locally. That was the result :)

Answer Link

Otras preguntas

100 points ...What is the product of (x − 3) and (x + 7)?
help help help help lol
explain the society on the basis of economy? Write one characteristics any two of them. ​
What is an institution?
7/9 , 28/36 do they form a proportion???‍
What is the slope of the line that passes through the points (5, 4) and (13.25, -18) ? A.) 83/3 B) 3/8 C) −3/8 D) 8/3
What is 125% of 3600?
Tìm x, y, z biết x (x + y + z) = - 5; y (x + y + z) = 9; 7 (x + y + z) = 5
A test has 20 questions. The test awards 3 points if the answer is correct and takes away 1 point if the answer is incorrect. A student answered 5 questions inc
In this painting, which color group do the green, light green, and dark green colors belong to?primarymonochromaticintermediatecomplementary