Commit f5f7a8e9 by BellCodeEditor

save project

parent 70885b96
Showing with 11 additions and 5 deletions
s1={"a":1,"b":2,"c":3}
s2={"a":1,"b":2,"c":3}
s3={"a":1,"b":2,"c":3}
score={"ao":s1,"aa":s2,"aaa":s3}
# 请将"农夫山泉"删掉,并打印出新的商品信息 name=input("名字:")
score={"语文":91,"数学":88,"英语":85} print("*"*30)
for k,v in score.items(): if name in score:
print(k,v) score=score[name]
for k,v in score.items():
print(k,v)
print("*"*30)
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