Commit 9e3c688c by BellCodeEditor

auto save

parent 4828706c
Showing with 20 additions and 5 deletions
import turtle
# p = turtle.Pen()
# p.write("你好,\n很高兴见到你!",font=("Times",30,"normal"))
# p.hideturtle()
# turtle.done()
s = turtle.Screen()
s.bgcolor("plum")
p = turtle.Pen()
p.penup()
p.goto(0,-100)
p.write("你好,\n很高兴见到你!",font=("Times",30,"normal"))
p.hideturtle()
#画图
p1 = turtle.Pen()
p1.circle(50)
p1.pencolor("red")
p1.pensize(5)
l=s.textinput("提示""你")
len=
p1.left(135)
p1.forward(2*len)
p1.circle(-len,180)
p1.left(90)
p1.circle(-len,180)
p1.forward(2*len)
p1.hideturtle()
turtle.done()
\ 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