Preview:
# get last value from list:
list[-1]
# start is inclusive, end is exclusive
list[2:4]
# add elements of list
list[1] + list[2]
# delete elements of list
del(list[2])
# sort lists
sorted(list)
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter