Commit 3d26b421 by BellCodeEditor

save project

parent b89fdffc
Showing with 8 additions and 7 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
pen=turtle.Pen()
# pen.write("一十\n举年\n成寒\n名窗\n天无\n下人\n知问",font=("宋体",30,"normal"))
# pen.hideturtle()
# turtle.done()
screen=turtle.Screen()
screen.bgcolor("light blue")
pen.pensize(5)
pen.pencolor("red")
pen.fillcolor("red")
pen.begin_fill()
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.end_fill()
\ No newline at end of file
pen.penup()
pen.goto(150,-100)
pen.write("一十\n举年\n成寒\n名窗\n天无\n下人\n知问",font=("宋体",20,"normal"))
pen.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