Commit a1a0d039 by BellCodeEditor

auto save

parent 493d167b
Showing with 0 additions and 23 deletions
import turtle
pen = turtle.Pen()
screen = turtle.Screen()
screen.bgcolor("white")
def card(size,color,say,saysize):
pen.penup()
pen.goto(200,-100)
pen.write(say,font=("Times",saysize,"normal"))
pen.penup()
pen.goto(0,0)
pen.left(45)
pen.fillcolor(color)
pen.begin_fill()
pen.forward(size)
pen.circle(size/2,180)
pen.right(90)
pen.circle(size/2,180)
pen.forward(size)
pen.end_fill()
pen.hideturtle()
turtle.done()
card(200,"green","悟空你帅,但不完全帅",100)
\ 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