Yes, that must mean that you modified some of the logic that was given in the template code. They gave you the code to create the dictionary that is the return value from the function. If you want to get a clean copy of the notebook to see what the code looked like originally, there is a topic about that on the FAQ Thread.
One general thing to worry about is that the indentation in python is a crucial part of the syntax. If you “outdented” any of the statements in the template code, that changes the logic.