Commit 9333dd21 by BellCodeEditor

save project

parent 89ebf943
Showing with 4 additions and 4 deletions
import turtle
__Pen = turtle.Pen()
# 利用write()帮助悟空给诺依回信吧~
screen = turtle.Screen()
......@@ -9,12 +7,14 @@ turtle.bgcolor('light blue')
w = 1
w = int(w)
pen = turtle.Pen()
pen.penup()
pen.goto((-100), (-100))
pen.write('你好诺伊\n我用python写了电子贺卡给你,\n电子贺卡真是太有趣了!\n落款——悟空.', font = ('Times', 19, 'normal'))
pen.hideturtle()
#画桃心
# 画桃心
w = 60
pen.penup()
pen.goto(100, 100)
pen.goto(0, 0)
pen.pendown()
pen.pensize(5)
pen.pencolor('red')
......
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