Commit 940d1abc by BellCodeEditor

save project

parent efac9df7
Showing with 14 additions and 6 deletions
# 我们都爱夸夸夸
import turtle
pen = turtle.Pen()
pen.write("我太难了\n呃",font=("Times",30,"normal"))
pen.hideturtle()
turtle.done()
\ No newline at end of file
import turtle
a=input("你想要什么大小的圆:")
b=int(a)
pen1=turtle.Pen()
pen1.penup()
pen1.goto(100,-100)
......@@ -11,15 +13,14 @@ screen.bgcolor("pink")
pen=turtle.Pen()
pen.pencolor("red")
pen.pensize(10)
pen.fillcolor("red")
pen.fillcolor("blue")
pen.begin_fill()
len=70
pen.left(45)
pen.forward(len*2)
pen.circle(len,180)
pen.forward(b*2)
pen.circle(b,180)
pen.right(90)
pen.circle(len,180)
pen.forward(len*2)
pen.circle(b,180)
pen.forward(b*2)
pen.end_fill()
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