Commit 8d1f34f8 by BellCodeEditor

auto save

parent edfb84d3
Showing with 28 additions and 5 deletions
import turtle
pen=turtle.Pen()
pen.pensize(2)
pen.pencolor("red")
pen.penup()
pen.goto(0,-100)
pen.pendown()
pen.circle(100)
pen.goto(0,100)
pen.penup()
pen.goto(-100,0)
pen.pendown()
pen.goto(100,0)
turtle.done()
\ No newline at end of file
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("pink")
len=screen.textinput("提示","多大的蔡徐坤啊?")
len=int(len)
pen.penup() pen.penup()
pen.goto(100,-100) pen.goto(100,-100)
pen.write("fvbvshbdh",font=("Times",30,"normal")) pen.write("全民制作人们,大家好,\n我是练习时长两年半的个人练习生\n————蔡徐坤",font=("Times",10,"normal"))
pen.hideturtle() pen.hideturtle()
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pencolor("red")
pen1.pensize(9)
pen1.left(45) pen1.left(45)
pen1.forward(100) pen1.forward(2*len)
pen1.circle(50,180) pen1.circle(len,180)
pen1.right(90) pen1.right(90)
pen1.circle(50,180) pen1.circle(len,180)
pen1.forward(100) pen1.forward(2*len)
turtle.done() 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