Commit 1d4b3fc4 by BellCodeEditor

save project

parent 1d44882b
Showing with 7 additions and 9 deletions
import turtle
s=turtle.Screen()
s.bgcolor("green")
p=turtle.Pen()
p.penup()
p.goto(100,-100)
p.write("你好\n 诺伊",font=("Times",30,"normal"))
p.hideturtle()
p1=turtle.Pen()
p1.pencolor("red")
len=10
p1.pensize(20)
p1.left(45)
p1.forward(100)
p1.circle(50,180)
p1.forward(2*len)
p1.circle(len,180)
p1.right(90)
p1.circle(50,180)
p1.forward(100)
p1.circle(len,180)
p1.forward(2*len)
p1.hideturtle()
turtle.done()
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