結果 : how to repeat code in python