To check the typing speed

 import time

i=time.time()

l=input("enter the text\n")

f=time.time()

speed=len(l.split())/(f-i)

print("the speed is words/sec ",speed)

print("the speed is words/min ",speed*60)