Each outcome is backed by the checks that test it. Solid means every check was right first time; with hints means you got there with a nudge; worth a revisit means an answer was revealed or is still wrong.
1
Ask the person running the program for a line of text, convert it to a number when a number is needed, and answer.
Not yet
2
Read a file line by line, take the line ends off, and add up or print what it holds.
Not yet
3
Write lines to a file, read them back, and say what opening a file for writing does to its old contents.
Not yet
4
Bring a module from the standard library into a program, use its square root and random numbers, and look a function up in the documentation.
Not yet
Your cheat sheet
What each lesson leaves you able to do, in one place. Lessons you have not finished are dimmed, not hidden.
Predict what a program prints from typed lines and from a file, complete the converting line and the import line, and say where a program looks for a file.