Commit 72098f1e by BellCodeEditor

save project

parent f495f9b4
Showing with 2 additions and 1 deletions
import turtle import turtle
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("purple") screen.bgcolor("purple")
len=screen.textinput("画爱心","你想要多大的爱心")
pen=turtle.Pen() pen=turtle.Pen()
pen.penup() pen.penup()
pen.goto(100,-100) pen.goto(100,-100)
pen.write("你好\n欢迎你.",font=("Times",30,"normal")) pen.write("你好\n欢迎你.",font=("Times",30,"normal"))
len=50 len=int(len)
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pensize(5) pen1.pensize(5)
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