Perl Primer - University of California, Davis

Python Primer. Patrice Koehl. Modified by Xin Liu in Apr., 2011 ... (item) Search for item in A, and remove first instance Reverse A.reverse() Reverses list A Sorting A.sort() Sorts list A in place, in increasing order Searching I=A.index(item) Search for item in list A, and puts index of first occurrence in i Counting N=A.count(item) Counts ... ................
................