Find Non Duplicate Element In Array Python Definition