Commit 5e9f0a73 by BellCodeEditor

save project

parent 2da2ad62
Pipeline #10159 failed in 0 seconds
Showing with 12 additions and 0 deletions
chengji={"ming":100.25,"liang":116,"ying":113,"peng":97,"hua":99.5}
mz=input("姓名是:")
fs=input("得分是:")
if mz in chengji:
if chengji[mz]>int(fs):
print(chengji)
else:
chengji[mz]=int(fs)
else:
chengji[mz]=int(fs)
print(chengji)
\ 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