My issue
Traceback (most recent call last):
File “/mnt/sol.py”, line 6, in
lst[i].append(x)
~~~^^^
IndexError: list index out of range
My code
# cook your dish here
T = int(input())
lst = []
for i in range(T):
x = int(input())
lst[i].append(x)
for i in range(n):
walk = (lst[i]*2)*5
print(walk)
Learning course: Basic Math using Python
Problem Link: CodeChef: Practical coding for everyone