I shared a question last week and I don't think I was able to be very clear.
The code in python is this:
RESTRICTIONS = []
RESTRICTIONS.append(1)
RESTRICTIONS.append(2)
RESTRICTIONS.append(3)
RESTRICTIONS.append(4)
RESTRICTIONS.append(5)
for icont in range(3):
'RESTRICTIONS' + str(icont) = RESTRICTIONS
That is, I want each new list to be renamed and receive, initially, the values of the initial list. However, the following error is identified: SyntaxError: can't assign to operator
.