View Hangman.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# Hangman game | |
# @ https://gist.github.com/eaorak/3986188 | |
'just added hint' | |
import random | |
class HangMan(object): | |
# Hangman game | |
hang = [] |