Commit 4f29fb06 by BellCodeEditor

save project

parent 0041c7d2
Showing with 14 additions and 0 deletions
++ "b/xsxx\343\200\202py"
b={'小明':77,'小王':86,'聂鹂宣':1,"高玉栋":100}
k=input('shuruxingming')
v=input('zuixinchnegji')
if k in b:
if int(v)>b[k]:
b[k]=int(v)
print(k+'tongxue'+'yichengxin'+v+'fen')
else:
print(k+"tongxue"+'chengjiweigengxin')
else:
b[k]=int(v)
print(k+"tongxue"+"chengjiyishuaxinwei"+v+'fen')
\ No newline at end of file
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