結果 : how to loop a code in python