結果 : python calculate how long a function takes