# 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)
# 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)