Commit 6f40c2dd by BellCodeEditor

auto save

parent 37782a88
Showing with 0 additions and 23 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
pen=turtle.Pen()
len=60
screen=turtle.Screen()
len=screen.textinput("警告!","快说")
a=int(len)
pen.pencolor("red")
pen.pensize(5)
pen.left(45)
pen.forward(2*a)
pen.circle(a,180)
pen.right(90)
pen.circle(a,180)
pen.forward(2*a)
pen.done()
\ No newline at end of file
import turtle
screen=turtle.Screen
screen.bgcolor("light blue")
screen.done()
pen=turtle.Pen
\ No newline at end of file
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