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