結果 : calculate time taken by function python