Commit 68f272b3 by BellCodeEditor

save project

parent 91259054
Showing with 11 additions and 4 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
# pen=turtle.Pen() sc = turtle.Screen()
# pen.write("星星\n月亮",font=("Times",30,"normal")) pen=turtle.Pen()
# pen.hideturtle() sc.bgcolor("pink")
# turtle.done() pen.penup()
pen.goto(50,-50)
pen.write("送给你\n小心心~\n——滕XX",font=("Times",40,"normal"))
pen.hideturtle()
#画爱心 #画爱心
pen1 = turtle.Pen() pen1 = turtle.Pen()
pen1.penup()
pen1.goto(-100,-100)
pen1.pendown()
pen1.fillcolor("red") pen1.fillcolor("red")
pen1.pensize(10) pen1.pensize(10)
pen1.pencolor("red") pen1.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