set(集合) set中的数据是唯一的,set中的数据可以改变,set中的数据是可变的创建setli=set({"hello","nice"}) //如果创建一个空的,只能li=set() li={"hello","nice"} m=["hello","nice"] li=set(m) //通过一个可迭
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号