my_string = "python pythonaaa1 11bb" temp_set = set(my_string) new_string = ''.join(temp_set) print(new_string)