Python3 problem.
Implement a text-only version of the game "hangman".
The game should pick a random word from the dictionary using rules of your choosing. Give the user a series of chances to guess the letters in it.
Show underscores for the letters not yet guessed; if the word is "hangman" and the user guesses the letter A, display "_a___a_".
The game should end when either all the letters have been guessed (the user wins), or the user has made five incorrect guesses (the user loses).