Week 2 Assignment 2 Grader Issue

All of my tests passed, but the grader gives me a zero. Here is the error message:
Cell #UNQ_C3. Can’t compile the student’s code. Error: NameError(“name ‘f’ is not defined”)

I checked that cell—all tests passed and I couldn’t find an ‘f’. Could anyone tell me what went wrong?

I read through the other posts on this forum, but no one else seems to have a similar issue.

It appears that your code using an ‘f’ parameter that isn’t defined.