Commit 25cb5307 by BellCodeEditor

save project

parent a9e110fc
Showing with 19 additions and 14 deletions
bro1="关羽"
bro2="刘备"
bro3="张飞"
bros=["刘备","关羽","张飞"]
bro1=["关羽",160,8.5]
bro2=["刘备",161,9.1]
bro3=["张飞",166,8.3]
bros[0]="关羽"
bros[1]="刘备"
print(bros)
a=["华雄"]
b=["袁术","夏侯惇","曹操","关羽"]
b.remove("关羽")
print(b)
if score > there:
if score>one:
record["第1名"]=score
record["第2名"]=oen
record["第3名"]=two
elif score > two:
record["第2名"]=score
record["第3名"]=two
else:
record["第3名"]=score
record=json.dumps(record,ensure_ascii=False)
with open("record.txt","w",encoding='utf-8') as f:
f.write(record)
import json
record={"第1名":91,"第2名":88,"第3名":85}
text=json.dumps(record,ensure_ascii=False)
print(text)
\ 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