Commit 1c78e2ca by BellCodeEditor

save project

parent 2fc6c510
Showing with 23 additions and 23 deletions
import turtle
screen=turtle.Screen()
screen.bgcolor("yellow")
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.shape("turtle")
pen.write("你\n好",font=("Times",20,"normal"))
pen.hideturtle()
pen1=turtle.Pen()
pen1.pencolor("red")
pen1.pensize(5)
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
pen1.hideturtle()
turtle.done()
import turtle
pen=turtle.Pen
import turtle
screen=turtle.Screen()
pen=turtle.Pen()
len=screen.textinput("提示","你想要多大的小牛马")
len1=int(len)
for i in range(4):
pen.forward(len1)
pen.left(90)
pen.hideturtle()
turtle.done()
\ No newline at end of file
import turtle
pen=turtle.Pen
import turtle
screen=turtle.Screen()
pen=turtle.Pen()
len=screen.textinput("提示","你想要多大的小牛马")
len1=int(len)
pen.circle(len1)
pen.circle(len1,360)
\ 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