集合不能有两个具有相同值的项。重复值将被忽略:fruitsset = {"apple", "banana", "cherry", "cherry"}print(fruitsset)执行结果:{'banana', 'cherry', 'apple'}