結果 : how to repeat a piece of code in python