Commit b05e0d39 by BellCodeEditor

save project

parent debd8510
Showing with 5 additions and 4 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
pen=turtle.Pen()
a=input("多大?")
pen.pensize(5)
pen.speed(1000)
pen.color("yellow")
pen.fillcolor("green")
pen.begin_fill()
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.forward(float(a))
pen.circle(float(a)/2,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.circle(float(a)/2,180)
pen.forward(float(a))
pen.end_fill()
pen.up()
......
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