Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge pull request #1 from tiyd-python-2015-01/master #14

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

classicmurph
Copy link

Mystery Word - Dean Fitzgerald


guessed = []
revealed = []

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