Commit fea4499a by BellCodeEditor

save project

parent 3e590ae3
Showing with 8 additions and 14 deletions
import turtle import turtle
pen= turtle.pen()
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("red") size=screen.textinput("")
pen=turtle.pen()
pen.penup()
pen.goto(100,-100)
pen.write(" Hi,弱鸡,用python写电子贺卡真是太有趣味了")
pen.hideturtle()
pen=turtle.Pen
len=screen.textinput("提示","你想要多大的爱心呀")
len=int(size) len=int(size)
pen.forward(2*len) len=float(size)
pen.circle(len,180) pen.circle(len)
pen.circle(len,360,3)
turtle.done() pen.circle(len,60)
pen.circle(len,360,3)
turtle.done
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