WEBVTT

00:00:00.000 --> 00:00:02.966
Let's practise checking a program against a task.

00:00:02.966 --> 00:00:06.672
Filter the Code Challenge Hub to Python and difficulty one.

00:00:06.672 --> 00:00:10.750
Open Sum Two Numbers and read what the program must do.

00:00:11.550 --> 00:00:15.054
The task asks us to print seven plus thirteen.

00:00:15.054 --> 00:00:20.116
Here we deliberately use subtraction first, so we can inspect a
failed attempt.

00:00:20.116 --> 00:00:24.010
Choose Submit Solution; this screen has no separate Run button.

00:00:24.810 --> 00:00:29.903
The output is minus six, and the evaluator reports zero of one tests
passed.

00:00:29.903 --> 00:00:33.540
The program ran, but it didn't meet the addition task.

00:00:33.540 --> 00:00:36.450
Read both the output and the test result.

00:00:37.250 --> 00:00:40.810
Change the minus sign to plus and submit again.

00:00:40.810 --> 00:00:44.369
The output is now twenty, which matches the arithmetic.

00:00:44.369 --> 00:00:48.720
Make small corrections like this so you can explain what changed.

00:00:49.520 --> 00:00:54.415
Notice that the local evaluator still reports zero of one tests
passed.

00:00:54.415 --> 00:00:58.086
Correct output and a passing grade are separate checks.

00:00:58.086 --> 00:01:05.020
Keep this result and report the evaluation mismatch; don't claim
completion just because the output looks right.

