結果 : how to do a repeat loop in python