Commit d492642d by BellCodeEditor

save project

parent 68073ef3
Showing with 7 additions and 3 deletions
import turtle import turtle
t=turtle.pen() s=turtle.Screen()
s.bgcolor("light blue")
p2=turtle.Pen()
p=turtle.Pen() p=turtle.Pen()
p2.penup()
p2.goto(100,-100)
p2.write("鹅,鹅,鹅,\n曲项向天歌。\n白毛浮绿水,\n红掌拨清波。",font=("Times",20,"normal"))
p2.hideturtle()
p.pensize(5) p.pensize(5)
p.pencolor("red") p.pencolor("red")
p.left(45) p.left(45)
...@@ -10,5 +16,4 @@ p.right(90) ...@@ -10,5 +16,4 @@ p.right(90)
p.circle(50,180) p.circle(50,180)
p.forward(100) p.forward(100)
p.hideturtle() p.hideturtle()
t.write("鹅,鹅,鹅,\n曲项向天歌。\n白毛浮绿水,\n红掌拨清波。",font=("Times",10,"normal"))
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