How To Replace Elements In List Python