Commit 2f9c24b4 by BellCodeEditor

save project

parent 76a99569
Showing with 10 additions and 3 deletions
import turtle import turtle
pen = turtle.Pen() pen = turtle.Pen()
pen.write('你好,悟空') pen.write('Hi,诺依~\n用python写电子贺卡真是太有趣啦~\n我也喜欢python~\n_悟空',font = ('Times',18,'normal'))
pen.color('red')
pen.pensize(5)
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
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