Commit 9ffa6a8d by BellCodeEditor

save project

parent 4121859b
Showing with 2 additions and 6 deletions
import turtle import turtle
pen = turtle.Pen() pen = turtle.Pen()
pen.fillcolor("red") pen.write("Hi,诺依~\n用python写电子贺卡真是太有趣啦~\n我也喜欢python~\n----悟空",font=("Times",18,"normal"))
pen.begin_fill()
for i in range(36):
pen.forward(200)
pen.right(170)
pen.end_fill()
pen.hideturtle() pen.hideturtle()
turtle.done() 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