Python · While loops

Read until done

A lab logger doesn't know how many readings are coming, so it keeps reading until it sees a line that means stop.