Commit 3d26b421 by BellCodeEditor

save project

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