結果 : largest and smallest element in an array in python