Commit 5932a8fe by BellCodeEditor

save project

parent 347fc232
Showing with 7 additions and 4 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
screen=turtle.Screen
#背景颜色
screen=turtle.Screen()
screen=bgcolor("bule")
#写字
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("Hi,诺依~\n用python写电子贺卡真是太有趣啦~\n我也喜欢python~\n——悟空",font=("Times",18,"normal"))
pen.write("Hi,诺依~\n用python写电子贺卡真是太有趣啦~\n我也喜欢python~\n——悟空",font=("Times",18,"normal"))
pen.hideturtle()
#画爱心
pen.goto(0,0)
pen.pendown()
pen.pensize(5)
......
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