Revising a previous case study for a guessing game, we look at one more version of the program:
guessD.py
A version in which we break the logic into task with
user-defined functions playOneRound() and
askYesNo(prompt).