python 基础
tuple
t = (1, 2)
print(t[1]) # 2
list
append
insert
pop
set
add
remove
dict
get
pop
in
dict = {"city": "beijing", "tel": "01099999999"}
rs = "city" in dict # True
t = (1, 2)
print(t[1]) # 2
append
insert
pop
add
remove
get
pop
in
dict = {"city": "beijing", "tel": "01099999999"}
rs = "city" in dict # True