結果 : how to get runtime of a function in python