Commit 7009667b by BellCodeEditor

auto save

parent eb983283
Showing with 12 additions and 12 deletions
score={'小明':77,'小王':86,'小张':58,'小美':100} import random
k=input('请输入你的姓名')
v=input('请输入你的最新成绩') message="诺依,周末一起去看动漫展吧!"
if k in score: key="kfnekfhirghejhg"
if int(v)>score[k]: k_m = ' '
print("恭喜你,成绩已刷新") for i in message:
else: str1=i
print("成绩未刷新") str2=random.choice(key)
else: str3=random.choice(key)
score[k]=int(v) text=str1+str2+str3
print("恭喜你,你的第一次成绩已上传") k_m=k_m+text
\ No newline at end of file print(k_m)
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