Commit 39790338 by BellCodeEditor

save project

parent 59bf53c4
Showing with 6 additions and 5 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
screen=turtle.Screen()
lensa=int(screen.textinput("奥里给","请输入大小"))
lensa=20
pen=turtle.Pen()
pen.color("red")
pen.left(45)
pen.forward(lensa*2)
pen.forward(lensa*3)
pen.left(45)
pen.circle(lensa,180)
pen.right(90)
pen.left(180)
pen.circle(lensa,180)
pen.forward(lensa*2)
pen.left(45)
pen.forward(lensa*3)
pen.penup()
pen.goto(100,40)
pen.pendown()
......
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