Commit d8214ce5 by BellCodeEditor

auto save

parent 502609b5
Showing with 18 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
z={'甲':1,'乙':2}
for i,v in d.items():
print(i)
print(v)
\ 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