Commit 13d6e9c8 by BellCodeEditor

save project

parent 6492c7fd
Showing with 14 additions and 0 deletions
...@@ -25,3 +25,16 @@ print(sb["体育"]) ...@@ -25,3 +25,16 @@ print(sb["体育"])
print(sb) print(sb)
sb["杀人"]=1000 sb["杀人"]=1000
print(sb) print(sb)
#修改一门科目的成绩
sb["数学"]=998
print(sb)
sb=input("查找内容:")
#新增加功能
if"语文"in sb:
print(sb["语文"])
else:
print("无")
\ 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