Commit e42d6240 by BellCodeEditor

save project

parent 07858a54
Showing with 24 additions and 0 deletions
import turtle
pen=turtle.Pen()
pen.goto(0,-100)
screen=turtle.Screen()
screen.bgcolor("red")
len=textinput("提示","大小为?(只能用整数)")
a=int(len)
pen.penup()
pen.write("bellcode的盗版不好玩,\nMicrosoft的正版,\n好玩!!!",font=("Times",30,"normil"))
pen.hideturtle()
penl=turtle.Pen()
penl.color("red")
penl.pensize(10)
penl.fillcolor("red")
penl.begin_fill()
penl.left(45)
penl.forward(2*a)
penl.circle(50,180)
penl.right(90)
penl.circle(50,180)
penl.forward(100)
penl.end_fill()
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