Commit 6ca7c867 by BellCodeEditor

save project

parent 31b3c209
Showing with 15 additions and 14 deletions
import turtle
pen=turtle.Pen()
pen.fillcolor('red')
pen.begin_fill()
pen.write("你好诺依",font=("Times",20,"normal"))
pen.goto(0,0)
for i in range(180):
pen.forward(1)
pen.right(0.5)
pen.setheading()
for i in range(180):
pen.forward(1)
pen.left(1)
pen.hideturtle()
pen.end_fill()
#pen.write("你好诺依",font=("Times",20,"normal"))
#画圆
zf=turtle.Pen()
zf.pencolor("red")
zf.pensize(5)
zf.left(45)
zf.circle(50,180)
zf.right(90)
zf.circle(50,180)
zf.forward(100)
zf.left(90)
zf.forward(100)
zf.hideturtle()
zf.end_fill()
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