結果 : how to repeat lines of code in python