結果 : how to code a loop in python