A simple typing speed test program that measures your typing speed (in words per minute), accuracy, and mistakes. The test provides you with a random phrase to type and then calculates your typing speed, number of mistakes, and accuracy percentage.
- Typing Speed: Measures how many words you can type per minute.
- Accuracy: Shows your typing accuracy as a percentage.
- Mistakes Count: Displays how many mistakes you made while typing.
- Randomized Phrases: The test picks a random phrase each time, ensuring variety.
- Retry Option: After each test, you can retry with a new phrase or quit the program.
- Python 3.x
-
Clone this repository:
git clone https://github.com/yourusername/typing-speed-test.git
-
Navigate to the project directory:
cd typing-speed-test -
Run the program:
python typing_speed_test.py
- Upon running the program, you will be asked if you are ready to start the test.
- If you answer "yes", a random phrase will be displayed, and you will be asked to type it.
- Once you finish typing, the program will calculate:
- Typing Speed (words per minute)
- Mistakes (number of incorrect characters typed)
- Accuracy (percentage of correct characters)
- After the results, you will be prompted to retry with a new phrase or quit the test.
Ready To Start The Test? (yes / no): yes
------- TYPING SPEED TEST -------
Type This Phrase:
The only way to do great work is to love what you do.
Start typing after the prompt...
Enter Here: The only way to do great work is to love what you do.
Results: Typing Speed: 35 WPM Mistakes: 0 Accuracy Percentage: 100%
Do you want to retry with a new phrase? (yes / no): no Thank you for visiting!
- Fork the repository.
- Create your feature branch (
git checkout -b feature-name). - Commit your changes (
git commit -am 'Add new feature'). - Push to the branch (
git push origin feature-name). - Open a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions or suggestions, feel free to reach out to me via email at [your-abhinavdwiveditkg@gmail.com].