Question 32 - Week 6 Practice | Prasnya
Prasnya
Continue with Google
Practice path
Dashboard
Exam
Qualifier / Quiz 1
Go to subject
Programing with python
Go to chapter
Week 6
Question 32
00:00
Est. 2 min
Marks:
+4.00
0.00
What will be the output of the code snippet given below? ``` L = [0] for i in range(1, 10): size = len(L) value = i + L[size - 1] L.append(value) print(L) ```
Single correct
Easy Difficulty
16 October 2022
A
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
B
[0, 1, 3, 6, 10, 15, 21, 28, 36, 45]
C
[1, 3, 6, 10, 15, 21, 28, 36, 45]
D
[0, 1, 3, 6, 10, 15, 21, 28, 36, 45, 55]