This project is a terminal-based typing test implemented in Python. It uses Python's random
and time
modules to create a dynamic and interactive typing test.
The typing test begins when the user selects option 1. A sentence is randomly selected and displayed to the user, who then types the sentence. The time
module is used to calculate the time taken to type the sentence.
The leaderboard shows the top typists. It is implemented using a dictionary, with the user's name as the key and their typing speed as the value. The leaderboard can be viewed by selecting option 2.
The program provides three options to the user:
- Start the Typing Test: This begins a new typing test.
- Show Leaderboard: This displays the current leaderboard.
- Exit: This exits the program.