結果 : how to add a timer to python code