I am getting an error can you guys help me out.
This is the code:
n1 = [0]
for x in range(t):
n1 = n1.append(int(input()))
This is the exact error:
Traceback (most recent call last):
File "C:/Users/DELL/PycharmProjects/start/jam1.py", line 5, in <module>
n1 = n1.append(int(input()))
AttributeError: 'NoneType' object has no attribute 'append'
I will be gratefull if you help me out.