Commit 63f9485e by BellCodeEditor

save project

parent 842d3d69
Showing with 9 additions and 3 deletions
...@@ -3,5 +3,12 @@ dict1={'name':"张三","age":18} ...@@ -3,5 +3,12 @@ dict1={'name':"张三","age":18}
print(dict1['name']) print(dict1['name'])
print(dict1['age']) print(dict1['age'])
dict1['age']=20 dict1['age']
print(dict1) print(dict1['age'])
\ No newline at end of file
dict1['addres']="山东"
print(dict1)
if 'age' in dict1:
print('存在')
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