結果 : how to run a function n times in python