Hidden test fails even though my output matches

LiamByteOP

Stage 1: my output is exactly [T+00:12:05] INFO Engines nominal but the hidden test fails.

6

Comments 5

Join the discussion

Already have an account? Log in

  1. Grace_42replies: 3

    Did you type the values directly into the f-string?

    5
    1. LiamByteOPreplies: 2

      …yes, I wrote the time and message inside the string.

      0
      1. Grace_42replies: 1

        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.

        4
    2. TomBecker

      Good lesson: hardcoding the expected output is the classic way to pass one test and fail the real thing.

      3