Commit 3fe4c7db by BellCodeEditor

save project

parent f63af94b
Showing with 0 additions and 40 deletions
#第一题:
# import turtle
# pen=turtle.Pen()
# for i in range(4):
# pen.forward(200)
# pen.left(90)
# pen.hideturtle()
# turtle.done()
# 第2题:
# import turtle
# pen=turtle.Pen()
# screen=turtle.Screen()
# screen.bgcolor("pink")
# pen.pencolor("red")
# pen.pensize(5)
# pen.left(45)
# pen.forward(100)
# pen.circle(50,180)
# pen.right(90)
# pen.circle(50,180)
# pen.forward(100)
# pen.hidet
# 第三题:
import turtle
pen=turtle.Pen()
pen.pensize(50)
pen.left(45)
pen.forward(100)
pen.left(90)
pen.circle(50,180)
pen.right(180)
pen.forward(100)
pen.right(90)
pen.circle(-50,180)
pen.hideturtle()
turtle.done()
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