結果 : how to calculate runtime in python