Commit 1facdb3d by BellCodeEditor

save project

parent ff0a80e5
Showing with 2 additions and 3 deletions
# 利用write()帮助悟空给诺依回信吧~turtle() # 利用write()帮助悟空给诺依回信吧~turtle()
import turtle import turtle
a=120
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("pink") screen.bgcolor("pink")
b=screen.textinput("提示","你想要多大的爱心")
a=int(b)
pen=turtle.Pen() pen=turtle.Pen()
pen.penup() pen.penup()
pen.goto(100,-100) pen.goto(100,-100)
pen.write("提前祝大家\n元旦快乐",font=("Time",20,"normal")) pen.write("提前祝大家\n元旦快乐",font=("Time",20,"normal"))
pen1=turtle.Pen() pen1=turtle.Pen()
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