How To Replace An Element In A List Python