You can save the response times in a list, then find the average
responseTimesList = [1.2, 0.7, 0.9, 1.4] #These would be appended to the list somewhere in your code average = sum(responseTimesList)/len(responseTimesList) print("The average of the list is %s" %average)If you're having trouble with this, post your code.