This is about AP4B Module 2 Programming Assignment - Exercise 2&3 - Grader for Print Statement
In Exercise 2, I got 2 points deducted with following grader output:
“Failed test case: Detected incorrect number of valid print statements (without f-strings). Expected: 2, but got: 0.” However, in my submission, I did do the print function without the f-strings.
In Exercise 3, I got 2 points deducted with following grader output: “Failed test case: Detected incorrect number of valid print statements (with f-strings). Expected: 1, but got: 0.” However, in my submission, I did do the print function with the f-strings.
Is there something wrong about my code, or is there any error on the test case code?
Thank you for the response. I did use the f-string in the print function in Exercise 3, but somehow the test code could not detect it.
I did not use f-string in the print function in Exercise 2, because the instruction specifically told me not to Because of this, use regular strings and NOT f-strings. Somehow the test code could not detect that I did not use f-string as well.