There was a problem compiling the code from your notebook. Details:
argument 1 must be an iterator
getting this error for all graded functions, though the output for all functions are correct
There was a problem compiling the code from your notebook. Details:
argument 1 must be an iterator
getting this error for all graded functions, though the output for all functions are correct
Argument 1 must be an iterator means that the items should be obtained with next(object) or the iterator function itself should use yield instead of return.
updating the lab solved this.
step 1 - click help button in the lab page
step 2 - under UPDATE LAB TO THE LATEST VERSION click get latest version
this resets the lab to new version
step 3 - redo the assignment and submit it
grader output passed all test cases.