Commit 5815b445 by BellCodeEditor

auto save

parent f900cbf8
Showing with 16 additions and 0 deletions
dict = {"name":"小明","age":"12","name":"小齐"}
dict["name"]
print(dict)
\ No newline at end of file
fruit = {"苹果":"4.98","葡萄":"9.80","哈密瓜":"3.50"}
fruit.clear()
print(fruit)
\ No newline at end of file
info = {"name":"创造师","age":"13","course":"python"}
for k,v in info.items():
print(k,v)
\ No newline at end of file
body1 = {"姓名","杰克","性别":"男","年龄":"13"}
body2 = {"姓名","苏珊","性别":"女","年龄":"11"}
body3 = {"姓名","小贝","性别":"男","年龄":"12"}
info = {"杰克""":body1,"苏珊":body2,"小贝":body3}
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