Hidden test fails even though my output matches LILiamByteOP 20 Sep, 07:14 Stage 1: my output is exactly [T+00:12:05] INFO Engines nominal but the hidden test fails.
GRGrace_4221 Sep, 07:35replies: 1The hidden test reruns your code with different starter values. You need to use the variables inside the f-string, not the literal text, so the line changes when the values change.
TOTomBecker21 Sep, 11:54Good lesson: hardcoding the expected output is the classic way to pass one test and fail the real thing.
Comments 5
Join the discussion CommentAlready have an account? Log in
Did you type the values directly into the f-string?
…yes, I wrote the time and message inside the string.
The hidden test reruns your code with different starter values. You need to use the variables inside the f-string, not the literal text, so the line changes when the values change.
Got it, now it passes. Sneaky but fair.
Good lesson: hardcoding the expected output is the classic way to pass one test and fail the real thing.