結果 : how to create a time loop in python