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)
```
Q32
16 Oct 2022
Programming in Python · Week 6
Q32.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)
```