Commit 0c541c39 by BellCodeEditor

save project

parent a1d4a035
Showing with 14 additions and 0 deletions
dict={'张三':30,'李四':37,'王五':52}
dict['李四']=80
dict['赵六']=99
if '赵六' in dict:
print(dict['赵六'])
print(dict)
python1={'王':99,'李':98,'星':100,'颜':80}
python1['颜']=100
print(python1['颜'])
if '刘'in python1:
print(python1)
else:
python1['刘']=80
print(python1)
\ 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