MCQ IN COMPUTER SCIENCE & ENGINEERING

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
A
[1, 2, 3, 4, 5, 5, 5, 5]
B
[1, 2, 3, 4, 5]
C
[1, 2, 3, 4, 6, 7, 8, 9]
D
[1, 2, 3, 4, 5, 6, 7, 8]
Explanation: 
There is 1 question to complete.