Commit 8a323f73 by BellCodeEditor

save project

parent 730aa887
Showing with 12 additions and 24 deletions
import turtle
turtle,penup()
turtle.goto(0,-200)
turtle.pendomn()
turtle.circle(200)
turtle.penup
turtle.goto(-100,50)
turtle.pendomn()
turtle.fillcolor("blue")
turtle.begin_fill()
turtle.circle(20)
turtle.end_fill()
turtle.penup()
turtle.goto(0,50)
turtle.pendomn()
turtle.circle(-50,steps=3)
turtle.penup()
turtle.goto(-150,-70)
turtle.pendomn()
turtle.goto(0,-170)
turtle.penup
\ No newline at end of file
score={"小明":92,"小红":98,"小亮":59,"小宁":65,"学霸":101,"笨蛋":1}
k=input("请输入名字")
v=input("请输入此次成绩")
if k in score:
if int(v)>score[k]:
score[k]=int(v)
print("成绩已刷新")
else:
print("成绩未被刷新")
else:
score[k]=int(v)
print("您的成绩已上传")
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