Creating Hangman in Python

The game Hangman is a simple but fun game that can pass the time. I’m gonna show you how to make an easy hangman-like game, that will greet a user and prompt them to guess a word that has been defined in the script.

First I will start off by importing the time module from Python this is not neccessary, but it gives a good flow to your script run time. Next I will take in the users name and greet the user and then prompt them to start guessing.

import timename = input("What is your name?")