It seems you edited the code which you were not supposed to do. Please note that you have to write your code between the comment lines ### START CODE HERE and END CODE HERE. You don’t need to change anything outside of these lines.
For now, read this instruction to get a clean copy of your assignment and then do your code at these specific places only.