Commit 646f7b00 by BellCodeEditor

auto save

parent 654bc3ba
Showing with 30 additions and 0 deletions
import turtle
s=turtle.Screen()
pen=turtle.Pen()
s.bgcolor("blue")
bb=s.textinput("标题","请说出你的名字")
cc=int(bb)
pen.forward(cc)
turtle.done()
\ No newline at end of file
import turtle
len=50
s=turtle.Screen()
s.bgcolor("yellow")
pen=turtle.Pen()
pen.write("what are you doing\nim juming\ndo u like it",font=("times",10,"normal"))
pen.penup()
pen.goto(-100,100)
pen.fillcolor("light blue")
pen.pendown()
pen.begin_fill()
pen.left(45)
pen.forward(2*len)
pen.circle(len,180)
pen.right(90)
pen.circle(len,180)
pen.forward(2*len)
pen.end_fill()
pen.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