Syntax error: incorrect slicing

Python syntax error: list slicing is not the same as indexing