Commit 7e6930aa by BellCodeEditor

save project

parent b1f662e4
Showing with 12 additions and 7 deletions
import turtle import turtle
pen =turtle.Pen() pen =turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("light blue")
pen.color("red") pen.color("red")
pen.write("死去元知万事空\n但悲不见九州同\n王师北定中原日\n家祭无忘告乃翁",font=("Times",40,"normal")) pen.write("死去元知万事空\n但悲不见九州同\n王师北定中原日\n家祭无忘告乃翁",font=("Times",40,"normal"))
pen.pensize(60) pen.pensize(60)
pen.pencolor("green") pen.pencolor("green")
pen.left(45) pen1 =turtle.Pen()
pen.forward(100) pen1.penup()
pen.circle(50,180) pen1.goto(-30,40)
pen.right(90) pen1.left(45)
pen.circle(50,180) pen1.forward(100)
pen.forward(100) pen1.circle(50,180)
pen.hideturtle() pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
pen1.hideturtle()
turtle.done() 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