In my code I have the following line
56 if(0 <= m and m <= 1000):
---> 57 simulacion[m][p] = 1
Non the less, I keep having the error
index -1313 is out of bounds for axis 0 with size 1000
Clearly m can not be -1313 due to the conditional statement. Does somebody know what is happening? I am using Python 2.7. If extra information is needed, let me know. It is for a traffic simulation project.