Blog Posts tagged with 'hangman'

Python Sets and the Hangman Game

I built another helper function for the Hangman Game. This function also leverages the set data structure in Python. I really love the use of sets in this instance as well as the instance before. Python sets bring out the essence of the function's purpose and promotes declarative programming.

Read More

Programming the Hangman Game in Python

I am creating a helper function in Python for the game Hangman. I need to determine if the secret word has been guessed from a list of guesses. I mention imperative vs. declarative programming, recursion, and sets and subsets in Python.

Read More