Lists

[] means empty set
all lists contained in []
text must have "" ["item a", "item b"]

methods are used to manipulate data

for lists, the format is:

listname.method(input)

add a list element to the end of the list:

listname.append("item")


use + to create a new list based off another one:

new_list = listname + ["item1", "item"2]


add an item to s specific place in a list:

listname[i] = "newitem"

([i] is the number index: [0] is first, [-1] is last)

if 2D list listname[i][i]


remove the first occurrence of an element:
listname.remove("element")

tuples are immutable lists