|
1 | | -# The task is to create a hangman game. |
| 1 | +# Package/Script Name |
2 | 2 |
|
3 | | -### Hint: Create a List of secret words and randomly pick a word. Now represent each word as _ and give user chances to guess the word if the user guesses the word right then replace _ with the word. |
| 3 | +- `pip install time` |
| 4 | + There is a popular time module available in Python which provides functions for working with times, and for converting between representations. |
| 5 | + |
| 6 | + ### Hint: Create a List of secret words and randomly pick a word. Now represent each word as _ and give user chances to guess the word if the user guesses the word right then replace _ with the word. |
| 7 | + |
| 8 | + |
| 9 | + ## Setup Instruction |
| 10 | + |
| 11 | +first install time package in your system open your terminal and write `pip install time` this will install time module in your system and random module is already install in python by itself so don't waste your time. Now make file `program.py` or whatever your choice and write program from program.py file and run it. |
4 | 12 |
|
5 | 13 | # Output
|
6 | 14 | [Output](https://github.com/Ayush7614/Amazing-Python-Scripts/blob/master/Hangman%20Game/Output.pdf)
|
| 15 | + |
0 commit comments