Code Documentation:
next() method of a generator, we can achieve a more straightforward finite state machine structure. Learning to effectively use a generator and the next() method
To demonstrate how a user would interact with this program, see the annotated image below for one example of user interaction:
Note that this is only one simple example, and that many other possible paths of operation are available.
Click here for the next lab, 405 Lab 0x02: Reaction Times.