<jupyter_start><jupyter_text>Watch Me Code 1: List Basics<jupyter_code>colors = [] #empty list
type(colors)
dir(colors)
help(colors.index)
colors.append("orange")
colors.append("blue")
colors.append("green")
colors.append("white")
print(colors)
print(len(colors))
colors.remove("green")
print(colors)
#lists are mutable
colors.reverse()
colors
index = colors.index('blue')
print(index)
colors.index('brown') # ValueError<jupyter_output><empty_output>
StarcoderdataJupyterStructuredCleanDedup