結果 : how to repeat in python code