結果 : how to make a loop code in python