Commit 13d6e9c8 by BellCodeEditor

save project

parent 6492c7fd
Showing with 15 additions and 2 deletions
......@@ -24,4 +24,17 @@ print(sb["体育"])
#新增加一门科目
print(sb)
sb["杀人"]=1000
print(sb)
\ No newline at end of file
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