Perl Primer - University of California, Davis

Python provides a list of functions that manipulates list. Let A be a list: ... 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 ... ................
................