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