Python Replace Specific Element In List