COMPUTER SCIENCE AND ENGINEERING
DATA STRUCTURES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Which of the following programs would produce the following output:1. honey2. bread3. jelly4. plates
|
my ____ list = ["honey", “bread", “jelly", “plates"]for index in range(len(my ____ list)):print(str(index) + “. “ + my ____ list)
|
|
my ____ list = ["honey", “bread", “jelly", “plates"]for index in range(len(my ____ list)):print(str(index+1) + “. “ + my ____ list[index])
|
|
my ____ list = ["honey", “bread", “jelly", “plates"]for index in my ____ list:print(str(index+1) + “. “ + my ____ list[index])
|
|
my ____ list = ["honey", “bread", “jelly", “plates"]for index in len(my ____ list):print(str(index) + “. “ + my ____ list[index])
|
Explanation:
There is 1 question to complete.