Commit 445b57fa by BellCodeEditor

save project

parent 2a6a314d
Showing with 7 additions and 6 deletions
#d,d,a,c,a #d,d,a,c,a
#dict={"name":"小明","age":"12","name":"小齐"} dict={"name":"小明","age":"12","name":"小齐"}
#print(dict["name"]) #print(dict["name"])
# fruit={"苹果":"4.98","葡萄":"9.80","哈密瓜":"3.50"} # fruit={"苹果":"4.98","葡萄":"9.80","哈密瓜":"3.50"}
...@@ -7,8 +7,9 @@ ...@@ -7,8 +7,9 @@
# fruit.pop("葡萄") # fruit.pop("葡萄")
# fruit.pop("哈密瓜") # fruit.pop("哈密瓜")
bod1={"姓名":"杰克","性别":"男","年龄":"13"} # bod1={"姓名":"杰克","性别":"男","年龄":"13"}
bod1={"姓名":"苏珊","性别":"女","年龄":"11"} # bod2={"姓名":"苏珊","性别":"女","年龄":"11"}
bod1={"姓名":"小贝","性别":"男","年龄":"12"} # bod3={"姓名":"小贝","性别":"男","年龄":"12"}
info={"杰克":bod1,"苏珊":bod2,"小贝":bod3} # info={"杰克":bod1,"苏珊":bod2,"小贝":bod3}
print(bod3("年龄")) # print(bod3["年龄"])
# print(info["小贝"])
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