Failing test for wk4 assignment

hi. I get this weird error message when I submit my notebook from the image_generator test suite.

There was a problem grading your submission. Details:
must be real number, not tuple

The code looks fine to me, and I don’t see anywhere I am returning a tuple…Any help?

In python, a trailing comma is interpreted as a tuple.

return 10 returns an integer.
return 10, returns a tuple of form (10, )

Is this your case?

I am afraid not. I really can’t see anything that looks like a tuple in the notebook.

Please click my name and message your notebook as an attachment.

Never mind, I just fixed it. It was a parameter in a call that borked stuff.