How does this function to remove duplicate characters from a string in python work?,print(' '.join(set(s)))