結果 : function for length of array in python