List Functions In Python Replace Element