Commit 202ce453 by BellCodeEditor

save project

parent 89b2f2e4
Showing with 4 additions and 2 deletions
len=5
import turtle import turtle
screen=turtle.Screen()
pen=turtle.Pen() pen=turtle.Pen()
pen.pensize(5) len1 = screen.textinput("爱心大小","你想要多大的")
len = int(len1)
pen.left(45) pen.left(45)
pen.forward(2*len) pen.forward(2*len)
pen.circle(len,180) pen.circle(len,180)
......
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