Deleting elements using Python

That’s a super helpful resource @jacob.small . This solved my initial error but now gives a new one: 'unexpected token " '. I don’t notice any irregularities or extra ’ " 's anywhere.

Here is a grab of the Code:

Any ideas?