結果 : calculate time duration in python