Commit 22c72cdd by BellCodeEditor

save project

parent ef61688e
Showing with 3 additions and 2 deletions
import turtle import turtle
screen=turtle.Screen() screen=turtle.Screen()
len=screen.textinput("提示","你想要多大的爱心呀?")
int(len)
screen.bgcolor("light blue") screen.bgcolor("light blue")
Pen=turtle.Pen() Pen=turtle.Pen()
Pen.penup() Pen.penup()
Pen.goto(100,0) Pen.goto(100,0)
Pen.write("hi,诺伊,你好啊",font=("Times",10,"normal")) Pen.write("hi诺伊",font=("Times",30,"normal"))
Pen.hideturtle()
Pen1=turtle.Pen() Pen1=turtle.Pen()
Pen1.pencolor("red") Pen1.pencolor("red")
Pen1.pensize(10) Pen1.pensize(10)
......
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