立即学习:https://edu.csdn.net/course/play/30689/448927?utm_source=blogtoedu
字典: d={"name":"tondy","age":19}
print(d["name"])
增加字典元素 d["job"]="teacher"
print(d)
del d["age"]
列表List
l=[1,2,3,4,"asdfasd"]
l.append("world") l.insert(0,88)
l.remove(2) del l[3] l.pop(1)
a=[1,2,3,4]
b=a.copy()
b[0]=99
print(a)
print(b)
x=[[4,6,7],["wordd",44],["world",23,45],a]
print(x[1][1])
set
set(11,2,2,2,2334,566,7)