Grader Cannot Detect Print Statements

I keep getting the following error in the Test Your Code in both Module 1 and 2 Book Tracker Assignment even though I have multiple print statements in each exercise. My output matches exactly with the expected output. Anyone knows what causes the issue? Thank you.

Failed test case: Detected incorrect number of valid print statements (with f-strings).
Grader expected: 1
You got: 0


Check that you do not have a space between the function name “print” and the opening parenthesis. The grader is really picky.
This is good:
print(...)
This is not good:
print (...)

1 Like

Thank you so much. This is exactly the reason for the errors.

1 Like