Commit 51c5db7f by BellCodeEditor

save project

parent c748ddd6
Showing with 3 additions and 1 deletions
import turtle import turtle
__Pen = turtle.Pen()
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
hua = turtle.numinput('对话框', '请输入爱心大小', 60, 0)
screen = turtle.Screen() screen = turtle.Screen()
turtle.bgcolor('light blue') turtle.bgcolor('light blue')
hua = 1 hua = 1
...@@ -12,7 +15,6 @@ pen.goto((-100), (-200)) ...@@ -12,7 +15,6 @@ pen.goto((-100), (-200))
pen.write('你好诺伊\n我用python写了电子贺卡给你,\n电子贺卡真是太有趣了!\n落款——悟空.', font = ('Times', 19, 'normal')) pen.write('你好诺伊\n我用python写了电子贺卡给你,\n电子贺卡真是太有趣了!\n落款——悟空.', font = ('Times', 19, 'normal'))
pen.hideturtle() pen.hideturtle()
# 画桃心 # 画桃心
hua = 70
pen.penup() pen.penup()
pen.goto(0, 0) pen.goto(0, 0)
pen.pendown() pen.pendown()
......
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