Hi, I am doing exercise 2 of the book tracker. the output expected (“Book is not available to be borrowed”) is the same as my printed output, but the grader keeps saying:
“Failed test case: Detected incorrect number of valid print statements (without f-strings).
Grader expected: 2
You got: 0”
Can you advise what I am doing wrong? It seems that the grader is not recognising my print statements
The error says that it is expecting 2 print statements, in the exercise, you must have 2 prints that will be shown with if/else statements, so the print must be triggered as a consequence of a condition, maybe is something related to that.
Thanks for reaching out! I found the problem, my print statement had a spacing before the brackets. While the code run works, the grader is not recognising it. Thanks!