Commit 6fc68348 by BellCodeEditor

auto save

parent 42c42604
Showing with 13 additions and 0 deletions
cj={'a':20,'b':30,'c':13,'d':12}
name=input('输入姓名')
chenji=int(input("输入成绩"))
if name in cj:
if chenji>cj[name]:
cj[name]=chenji
else:
cj[name]=chenji
print(cj)
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