Commit b6879151 by BellCodeEditor

save project

parent f8c76e3c
Showing with 42 additions and 9 deletions
import turtle as t
for i in range(4):
t.forward(200)
t.right(90)
t.penup()
t.goto(100,-150)
t.pencolor("blue")
t.fillcolor("blue")
t.begin_fill()
# t.forward(100)
# t.right(90)
# t.penup()
# t.forward(50)
t.pendown()
# t.left(90)
t.circle(50,180)
t.end_fill()
t.done()
import turtle as t
t.pencolor("orange")
t.circle(100)
t.left(90)
t.forward(200)
t.penup()
t.left(90)
t.forward(100)
t.left(90)
t.forward(100)
t.left(90)
t.pendown()
t.forward(200)
t.done()
\ No newline at end of file
total = [] a=input("请输入五个数字")
while True: b=a.split(",")
unit= input("请输入:") c=0
if unit== 'q': for i in b:
break c+=int(i)
else: d=c/len(b)
total.append(unit) print("总分是"+str(c)+"平均数是"+str(d))
print(total) \ No newline at end of file
\ 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