Commit 4af95832 by BellCodeEditor

save project

parent 457681a5
Showing with 13 additions and 0 deletions
xs_cj=('小明':100,'小红':80,'小兰':90)
a=input('请输入姓名:')
b=input('请输入成绩:')
if k in xs_cj:
if b>xs_cj[a]:
xs_cj[a]=b
print('成绩已更新')
else:
print('成绩未更新')
else:
xs_cj[a]=b
print('你的成绩已录入')
\ 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