I'm trying to run snake game code and this error came out and I don't know how to fix it pls help I'm new for python
w.addch(int(snake[1][1]), int(snake[1][1]), curses.ACS_CKBOARD)
it generates the following error.
IndexError: list index out of range