Skip to content

Conversation

@classicmurph
Copy link

Mystery Word - Dean Fitzgerald

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This stuff should be at the bottom in a if __name__ == "__main__" block, along with the rest of the code in the bottom of this file.

@cndreisbach
Copy link
Contributor

This is a good start, @classicmurph, but needs some work:

  • It needs to be PEP 8 compliant.
  • Show the word on failure.
  • Remove the extraneous quotes in the output:
What's your guess?  c
Nope. You have 7 guesses left. '
'
_ _ a _ _ _ e _ _ _ e
['b', 'c']

Your test suite is minimal. It'll pass for now, but I want to see a lot more tests in your next project.

Let me know when you've fixed the above issues and I'll re-review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants