** I understand removing the commented code will solve the issue, but I want to report that leaving in the commented out code should not affect whether an answer is right or not**
For my answer to Printing out a list item by item in a function I wrote
n = [3, 5, 7] # for i in range(0, len(n)): # print n[i] def print_list(x): for num in range(0, len(x)): print x[num] print_list(n)
However, I received the error message The body of the function should not reference n anywhere. The error message went away after I removed the commented code. This seems like a bug to me.