Hangman Game

Hangman Game Part 1
Last week I was doing the flowchart of the game hangman, now I am going to write the code for it. I will do this using the book I use called invent with python.

          I am using ASCII drawing to do the hangman drawings that will change when the user guesses the word incorrect. To do so I need to use multi-line strings which uses three quotes. Constant variables are variables that do not change from the first assignment number. A list value can contain several values inside of it, it uses a square bracket and is separated in commas. We can index the lists by using number.

Comments

Popular posts from this blog

Hangman flowcharts

Debugging

Chapter 5 - Jokes