COMPUTER SCIENCE AND ENGINEERING
DATA STRUCTURES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Given the following list:my ____ list = ["s", “Z", “e", “c", “c", “e", “r", “h", “e", “p", “t"]which program below would give the following output:secret
|
for index in my ____ list:if index % 2 == 0:print(my ____ list[index])
|
|
for index in range(my ____ list):if index % 2 == 0:print(my ____ list[index])
|
|
for index in len(my ____ list):if index % 2 == 0:print(my ____ list[index])
|
|
for index in range(len(my ____ list)):if index % 2 == 0:print(my ____ list[index])
|
Explanation:
There is 1 question to complete.