Commit 6578693a by BellCodeEditor

save project

parent e1922c78
Showing with 15 additions and 3 deletions
# 利用write()帮助悟空给诺依回信吧
import turtle
screen=turtle.Screen()
screen.bgcolor('green')
pen=turtle.Pen()
pen.write('hi,诺伊~用python写电子贺卡真是太有趣啦~我也喜欢python')
pen.hideturtle()
pen.up()
pen.goto(100,100)
pen.down()
pen.color('red')
pen.pensize(10)
pen.left(45)
pen.fd(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.fd(100)
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