Write the definition of a function typing_speed , that receives two parameters. The first is the number of words that a person has typed (an int greater than or equal to zero) in a particular time interval. The second is the length of the time interval in seconds (an int greater than zero). The function returns the typing speed of that person in words per minute (a float ).
1
Expert's answer
2014-10-01T01:16:28-0400
def typing_speed(num_of_words, time): return num_of_words * 60 / time
Comments
Leave a comment