Commit 25d99652 by BellCodeEditor

save project

parent 1eaa3fbb
Showing with 19 additions and 5 deletions
import turtle import turtle
pen=turtle.Pen() # pen=turtle.Pen()
pen.write("沐浴在夕阳下\n一轮暖阳,两个身影",font="方正硬笔楷书",30,"normal") # pen.write("沐浴在夕阳下\n一轮暖阳,两个身影\n目光是同一个方向\n人间值得,有你真好!",font=("方正硬笔楷书简体",30,"norm))
pen.hideturtle() # pen.hideturtle()
pen.done() # pen.done()
\ No newline at end of file p1=turtle.Pen()
p1.pensize(5)
p1.pencolor("red")
p1.fillcolor("red")
p1.begin_fill()
p1.left(45)
p1.forward(100)
p1.circle(50,180)
p1.right(90)
p1.circle(50,180)
p1.forward(100)
p1.end_fill()
p1.hideturtle()
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