Ashley Keeling11,475 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 56,801 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)