How To Replace List Element In Python