結果 : how to repeat code in python a certain number of times