結果 : how to loop through a 2d array in python