結果 : how to loop through a array in python