Commit 2fd73141 by BellCodeEditor

save project

parent ac2098e4
Showing with 9 additions and 3 deletions
import turtle
# pen=turtle.Pen()
# pen.write("Hi,诺依~\n用python写电子贺卡真是太有趣啦~\n我也喜欢python~\n——悟空 ",font=("Times",18,"normal"))
# pen.hideturtle()
#背景
screen=turtle.Screen()
screen.bgcolor("yellow")
#写字
pen=turtle.Pen()
pen.write("Hi,诺依~\n用python写电子贺卡真是太有趣啦~\n我也喜欢python~\n——悟空 ",font=("Times",18,"normal"))
#画爱心
pen1.penup()
pen1.goto(-100,100)
pen1=turtle.Pen()
pen1.pencolor("blue")
pen1.pensize(6)
......
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