Radio Shift Diagnostics

Open a terminal in this folder. On Windows, use py, or use python if that
is the command from your setup lesson.
Python includes pdb. Run it with -m pdb as shown below.
Type the debugger commands at the (Pdb) prompt.

1. Run python3 shift_total.py. The programme needs 8 minutes (5 + 3).
   Record the actual output of 3 minutes as your failing case.
2. Run python3 -m pdb shift_total.py. Type list to see the source,
   b 9 to set a breakpoint on the call, then c to continue to it.
   The arrow marks the next line to execute. Type p durations to see [5, 3].
3. Type s to step into total_minutes, then b 4 to set a breakpoint
   on the assignment inside the loop. Type c and then p total, minutes.
   At the first visit the values are (0, 5). Type c and then p total, minutes
   again to see (5, 3) at the second visit.
4. Type n to run the assignment, then p total. The value is 3.
   The assignment replaced the running total with the current duration.
   Type q, then change line 4 to total += minutes. Run python3 shift_total.py
   again and check that it prints Minutes: 8.
5. Start pdb again. Type b 9, then c, then n. The debugger steps over the call
   and you can use p total on the print line to see 8. Type q when finished.

If you edit the line count, use list to find the call and the assignment
before setting your breakpoints. Keep a note of one value before the bug
and the corresponding value after your fix.
