Ashley Keeling11,476 Points
what is 'done'?
in the video he uses done as a argument for the play function , I don't get where it has come from. thanks
Chris FreemanTreehouse Moderator 59,587 Points
done is used as a parameter for the
play function to determine if play should begin. Initially,
done should be
False otherwise you would only get one guess before the
if done: statement is reached and the code asks to play again.
The initial value of
done needs to be passed into the
play function using:
play(False) # or play(done=False)