Commit 082d7859 by BellCodeEditor

save project

parent 07858a54
Showing with 21 additions and 0 deletions
import turtle
w=turtle.Screen()
w.bgcolor("blue")
len=w.textinput("贺卡","大小:")
siez=int(len)
Pena=turtle.Pen()
Pena.penup()
Pena.goto(100,-100)
Pena.write("你好呀!\n你k你嚓\n",font=("Times",20,"normal"))
Pena.heading()
pen=turtle.Pen
pen.pencolor("green")
pen.left(45)
pen.forward(2*siez)
pen.circle(siez,180)
pen.right(90)
pen.circle(siez,180)
pen.forward(2*siez)
pen.heading()
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