結果 : how to repeat line of code in python