結果 : function to find length of an array in python