結果 : how to write a repeat loop in python