Answer:
The definition of function is as follows:
def typing_speed(number_of_words,Time_Interval):
number_of_words>=0
Time_Interval>0
speed=float(60*number_of_words/Time_Interval)
return speed
Explanation:
Above function is defined step-by-step as follows:
def typing_speed(number_of_words,Time_Interval):
- A function named typing speed has two arguments, num_of_words and Time_Interval.
number_of_words>=0
Time_Interval>0
- The variable number_of_words is the number of words entered that a person enters, they must be greater than or equal to 0. Where as Time_Interval is the variable for counting the time span in seconds, it must be greater than 0.
speed=float(60*number_of_words/Time_Interval)
return speed
- For determining result firstly the seconds are converted int minutes by multiplying with 60 and number_of_words is divided with Time_Interval in order to get words per minute. The return value will give speed which has data type float.
isn't it ALU I got told it was ALU
Answer:
Software is a set of computer programs which makes computer work.