mirror of
https://github.com/metafy-social/python-scripts.git
synced 2024-11-27 14:01:12 +00:00
Delete scripts/typing-speed-checker directory
This commit is contained in:
parent
f330631c2f
commit
05282bcd08
|
@ -1,3 +0,0 @@
|
|||
# Typing Speed Checker
|
||||
|
||||
You can check someone's typing speed with this simple Python script. It uses python's inbuild time module to test the user's typing speed.
|
|
@ -1,32 +0,0 @@
|
|||
from time import time
|
||||
|
||||
print("PARAGRAPH:")
|
||||
print()
|
||||
|
||||
typingString = "Medical transcription, also known as MT, is an allied health profession dealing with the process of transcribing voice-recorded medical reports that are dictated by physicians, nurses and other healthcare practitioners. Medical reports can be voice files, notes taken during a lecture, or other spoken material."
|
||||
|
||||
words = len(typingString.split())
|
||||
|
||||
print(typingString)
|
||||
|
||||
print("\nAfter finishing the test, press the enter key to see your time and speed (in WPM)")
|
||||
input("\nPress any key to Start:")
|
||||
|
||||
try:
|
||||
print("\nTimer Started\n")
|
||||
start = time()
|
||||
t = input()
|
||||
end = time()
|
||||
if t == typingString:
|
||||
total = round(end - start, 2)
|
||||
print("\nCongrats! You typed everything correctly.")
|
||||
print("You took was %s seconds" % total)
|
||||
total = int(total) / 60
|
||||
print("Your speed was %s wpm" % (str(words // total)))
|
||||
|
||||
else:
|
||||
print("\nWrongly entered")
|
||||
print("Try again")
|
||||
|
||||
except KeyboardInterrupt:
|
||||
print("")
|
Loading…
Reference in New Issue
Block a user