結果 : how to traverse through an array in python