Commit 17979c90 by BellCodeEditor

save project

parent 6ef94739
Showing with 16 additions and 0 deletions
import turtle
screen=turtle.Screen()
screen.bgcolor("red")
pen.write("你妈妈",format("Time","70","fonttype"))
pen.hideturtle()
pen=turtle.Pen()
length=screen.textinput("请问","你要画多大的星星")
lovesize = int(length)
pen.lt(45)
pen.fd(lovesize*2)
pen.circle(lovesize,180)
pen.rt(90)
pen.circle(lovesize,180)
pen.fd(lovesize*2)
turtle.done()
\ No newline at end of file
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