Commit 7cbbdd11 by BellCodeEditor

save project

parent 4b6be01c
Showing with 10 additions and 0 deletions
......@@ -5,3 +5,13 @@ print(goods)
# 请将"农夫山泉"删掉,并打印出新的商品信息
d1={'语文':91,'数学':88,'英语':85}
d2={'语文':97,'数学':98,'英语':90}
d3={'语文':95,'数学':100,'英语':93}
s={'悟空':d1,'诺依':d2,"小贝":d3}
n=input("名字")
if n in s:
a=s[n]
for k,v in a.items():
print(k,v)
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