Commit 68ecc543 by BellCodeEditor

save project

parent 4c61e7c6
Showing with 9 additions and 0 deletions
a={"张三":80,"李四":75}
k=input("请输入名字")
h=input("请输入成绩")
if k in a:
if a[k]<h:
a[k]=h
else:
a[k]=h
print(a)
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