Commit 7240403c by BellCodeEditor

auto save

parent e6b40eb6
Showing with 4 additions and 1 deletions
import turtle import turtle
len=50 screen=turtle.Screen()
len=5
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.penup() pen1.penup()
pen1.goto(100,-100) pen1.goto(100,-100)
pen1.write('你好 \n xxx',font=('Times',20,'normal')) pen1.write('你好 \n xxx',font=('Times',20,'normal'))
pen=turtle.Pen() pen=turtle.Pen()
pen.left(45) pen.left(45)
le=screen.textinput("提示","你想要多大的爱心?")
len=int(le)
pen.forward(2*len) pen.forward(2*len)
pen.circle(len,180) pen.circle(len,180)
pen.right(90) pen.right(90)
......
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