Commit 8b01ef4d by BellCodeEditor

save project

parent b314f0ea
Showing with 15 additions and 3 deletions
# 利用write()帮助悟空给 # 利用write()帮助悟空给
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.write("shdfl\njsdfhsdjkf",font=("Times",30,"normal")) pen.pencolor("red")
turtle.done() pen.begin_fill()
\ No newline at end of file pen.left(45)
pen.forward(100)
# pen.left(90)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.begin_fill()
pen.fillcolor("red")
pen.end_fill()
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