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

Grant is rowing a standard six sided number dye eight times how many outcomes are possible
PLEASE HELP 11 POINTS
Significant Figures For 7.06 × 10^5 ÷ 5.3 × 10^-2
Need help! Geometry!
HELP. find the circumference of the circle to the nearest tenth. Use 3.14 for pi.
Foreign policy is the . programs created to help immigrants in the United States set of actions a country takes in relation to other countries decisions of C
Which statement best describes the role of the government in a mixed economic system? A) It decides what is to be produced. B) It determines for whom the goods
E. within this feedback loop, do the signals from the response change in magnitude (lesser, greater) or direction (positive, negative)?
What event occurred as a result of the Serbian assassination of Ferdinand, heir to the throne of Austria? formation of the League of Nations Spanish-American Wa
Algebra 2 help - DO NOT GUESS! EXPLAIN YOUR ANSWER PLEASE :) How far does the barnacle travel in one revolution of the water wheel?Just the last question in the