Commit fec11f8c by BellCodeEditor

save project

parent 5a7f9bd8
Showing with 6 additions and 4 deletions
score = {"wk":{"yw":120,"sx":120,"yy":100}} score = {"wk":{"yw":120,"sx":120,"yy":1000}}
for k,v in score.items(): k = input()
for k2,v2 in v.items(): try:
print(k2+"=>"+str(v2)) print(k+ str(score[k]["yw"])+str(score[k]["sx"])+str(score[k]["yy"]))
except KeyError:
print("DNFH!!!")
# 请对字典进行遍历,将保存的分数以键值对的形式提取打印出来 # 请对字典进行遍历,将保存的分数以键值对的形式提取打印出来
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