#!/usr/local/bin/python2 l = [1,2,3] l[:1] = [5] print l