Commit 2b12e0db by BellCodeEditor

save project

parent ee0e75d9
Showing with 7 additions and 4 deletions
import turtle
# pen=turtle.Pen()
# pen.write("Hi,若依\n用python写电子贺卡真是太有趣啦\n我也喜欢py"))
screen=turtle.Screen()
screen.bgcolor("light blue")
pen=turtle.Pen()
pen.penup()
pen.goto(100,0)
pen.write("若依,你好\n我会用turtle在画布上写字了!",font=("Times",15,"normal"))
# pen.hideturtle()
# turtle.done
# 画爱心
......@@ -14,4 +18,4 @@ pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
pen1.hideturtle()
turtle.done()
\ No newline at end of file
turtle.done()
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