Save
Computer Science
Programming
array methods
Save
Share
Learn
Content
Leaderboard
Share
Learn
Created by
willow
Visit profile
Cards (22)
add an element to end of list
append
removes all elements from list
clear
returns
copy
of list
copy
returns number of elements with specified value
count
returns the
index
of the
first
element
with
specified
value
index
adds an element at specified position
insert
removes element at specified position
pop
removes first item with specified value
remove
sorts
list
sort
removes all elements from dictionary
clear
returns value of specified key
get
returns list containing a tuple for each key value pair
items
returns a list with all keys
keys
removes element with specified key
pop
removes last inserted key value pair
popitem
updates
the dictionary with specified
key
value pairs
update
returns a list of all values in the dictionary
values
returns the number of times a specified value occurs in a tuple
count
returns position of specified value in tuple
index
adds element to set
add
removes elements from set
clear
returns a copy of the set
copy