Commit e0c2a87d by BellCodeEditor

auto save

parent af34413b
Showing with 21 additions and 6 deletions
a=[1,2] # b=[1,2,3]
b=[2,1] # b.pop(0)
# b.remove(2)
c={1:2,2:3,3:4} # print(b)
d={2:3,3:4,1:2}
print(c==d) # # print(a[2][2])
\ No newline at end of file a={'数学':100,'英语':100,'科学':210}
data=a.pop('数学')
print(data)
print(a)
# a1={'数学':100,'英语':100,'科学':210}
# a3={'数学':100,'英语':100,'科学':210}
# a4={'数学':100,'英语':100,'科学':210}
# b={
# 'zhaosi':a,
# 'zhangsan':a1,
# 'lisi':a3,
# 'wangba':a4
# }
# print(b['lisi']['英语'])
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment