COMPUTER SCIENCE AND ENGINEERING
DATA STRUCTURES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
What will be the output of the following program?my ____ list = [1, 2, 3, 4]num = 5for index in range(len(my ____ list)):my ____ list.append(num + index)print(my ____ list
|
[1, 2, 3, 4, 5, 5, 5, 5]
|
|
[1, 2, 3, 4, 5]
|
|
[1, 2, 3, 4, 6, 7, 8, 9]
|
|
[1, 2, 3, 4, 5, 6, 7, 8]
|
Explanation:
There is 1 question to complete.