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