結果 : how to write for loops in python