Commit 3a273f56 by BellCodeEditor

save project

parent 97c7f581
Showing with 2 additions and 3 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
#写字
import turtle import turtle
#背景颜色 #背景颜色
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcoior("light blue") screen.bgcolor("light blue")
#写字
pen=turtle.Pen() pen=turtle.Pen()
pen.penup() pen.penup()
pen.goto(100,-100) pen.goto(100,-100)
...@@ -11,7 +11,6 @@ pen.write("诺依~\n用python写电子贺卡真是太有趣啦~\n我也喜欢pyt ...@@ -11,7 +11,6 @@ pen.write("诺依~\n用python写电子贺卡真是太有趣啦~\n我也喜欢pyt
pen.hideturtle() pen.hideturtle()
#画爱心 #画爱心
len=60
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pencolor("red") pen1.pencolor("red")
pen1.pensize(5) pen1.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