Q3Numerical3 Marks10 May 2026
What is the output?
```
L = [2, 4, 6]
S = []
T = 0
for i in range(len(L)):
S += L[:i+1]
for x in S:
T += x
print(T)
```
Enter an integer as your answer.
Press Enter to check.
Programming in Python · Week 6