🌈 搜索
📅  最后修改于: 2022-03-11 14:45:19.233000             🧑  作者: Mango
string = 'aabbcd' unique = [] for char in string[::]: if char not in unique: unique.append(char) print(len(unique))