Level 64 Level 66
Level 65

[No Typing] List Functions & Methods


14 words 0 ignored

Ready to learn       Ready to review

Ignore words

Check the boxes below to ignore/unignore words, then click save at the bottom. Ignored words will never appear in any learning session.

All None

Ignore?
cmp(list1, list2)
compares elements of two lists
len(list)
returns the number of elements in the list
max(list)
returns the elements from the list with maximum value
min(list)
returns the elements from the list with minimum value
list(sequence)
takes sequence types and converts them to lists
list.append(object)
appends a passed object into the existing list
list.count(object)
returns count of how many times an object occurs in list
list1.extend(list2)
appends a list onto another list
list.index(object)
returns the lowest index in list that an object appears
list.insert(index, object)
inserts an object into a list at a specified index
list.pop()
removes and returns the last object from a list
list.remove(object)
Removes an object from a list
list.reverse()
reverses objects of an existing list
list.sort()
sorts objects of list alphabetically