結果 : how to repeat a function in python