Commit 432fff9d by BellCodeEditor

auto save

parent da6cfeb4
......@@ -6,7 +6,114 @@ def new_inpurt():
break
else:
try:
money=int(money)
mone
except:
print("请输入一整形")
else:
......
fenshu=input("请输入五科分数:")
zongfen=fenshu.split(",")
num=0
for i in zongfen:
num+=int(i)
print(num)
print(float(num/len(zongfen)))
\ No newline at end of file
import turtle
pen=turtle.Pen()
for i in range(4):
pen.forward(200)
pen.left(90)
pen.penup()
pen.goto(100,100-50)
pen.pendown()
pen.color("blue","blue")
pen.begin_fill()
pen.circle(50,180)
pen.end_fill()
pen.hideturtle()
turtle.done()
\ No newline at end of file
import turtle
pen=turtle.Pen()
pen.pencolor("orange")
pen.circle(100)
pen.left(90)
pen.goto(0,200)
pen.penup()
pen.goto(-100,100)
pen.right(90)
pen.pendown()
pen.goto(100,100)
pen.hideturtle()
turtle.done()
\ 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