edit

How to extend a two-dimensional array in python

I'm making a game with an infinite world. I have a two-dimensional array pos_block[x][y]. Each cell in the array corresponds ... do this? I create an array using pos_blocks=[[0 for a in range(-501,501)] for b in range(-801,801)] and want to increase it.