'isigned int int 'iunsigned int int 'lsigned long int 'lunsigned long int 'qsigned long long int 'qunsigned lon long int 'ffloat float 'ddouble float the array objects support the following attributes and methodsattribute or method description typecode the typecode character used to create the array itemsize sizein bytesof items stored in the array append(xappends item to the end of the array buffer_info(returns the memory location and length of the buffer used to store the array byteswap(swaps the byte order of each item used for writing to machine or file with different byte order count(xreturns the number of occurrences of in extend(bappends any iterablebto the end of array frombytes(sappends items from stringsas an array of machine values fromfile(fnreads itemsas machine valuesfrom file objectfand appends them to raises an eoferror if there are fewer than items in fromlist(lappends items from list fromunicode(sextends with unicode string array must be of type or else valueerror is raised index(xreturns the first (smallestindex of item insert(ixinserts item before index