Commit 865677bd by BellCodeEditor

auto save

parent e027d6c7
Showing with 8 additions and 5 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("light blue") screen.bgcolor("light blue")
len=screen.textinput("爱心大小","爱心大小?") len=screen.textinput("??大小","??大小?")
lovesize=int(len) lovesize=int(len)
pen2=turtle.Pen()
pen2.goto(0,200)
pen2.pencolor("red",font)
pen2.write("贺卡")
pen=turtle.Pen() pen=turtle.Pen()
pen.write("山外青山楼外楼,\n青松教育使人愁。\n青松熏得家长醉,\n只把孩子当虚无!",font=("Times",20,"normal")) pen.write("妈妈:\n 祝您节日快乐,越来越美丽,\n越来越年轻,越来越快乐!\n 王林翰&王亦暖",font=("Times",20,"normal")
pen.hideturtle() pen.hideturtle()
pen1=turtle.Pen()
pen1.penup() pen1.penup()
pen1.goto(-100,100) pen1.goto(-150,-100)
pen1.pendown() pen1.pendown()
pen1.pencolor("red") pen1.pencolor("red")
pen1.fillcolor("red") pen1.fillcolor("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