Commit 52e14e23 by BellCodeEditor

save project

parent 70a2b484
Showing with 63 additions and 0 deletions
import turtle
screen=turtle.Screen()
screen.bgcolor("light yellow")
len=screen.textinput("100","100")
len=int(len)
pen=turtle.Pen()
pen.penup()
pen.goto(100,-130)
pen.write("妈妈\n母亲节\n快乐\n每天开心哦\n¥多多",font=("Times",30,"normal"))
pen.hideturtle()
pen.penup()
pen.goto(100,100)
pen.pendown()
pen.pensize(5)
pen.pencolor("red")
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
turtle.done()
import turtle
woshizhizhu=turtle.Screen()
woshizhizhu.bgcolor("light green")
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("你好\n你这次\n期末考试\n成绩怎么样.",font=("Times",30,"normal"))
pen.hideturtle()
pen.penup()
pen.goto(100,100)
pen.pendown()
pen.pensize(5)
pen.pencolor("red")
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
turtle.done()
import turtle
import turtle
woshizhizhu=turtle.Screen()
woshizhizhu.bgcolor("light green")
pen=turtle.Pen()
pen.penup()
pen.goto(100,-180)
pen.write("你好\n你被我\n绿了\n戴上了\n珍惜又美丽的\n绿帽帽.",font=("Times",30,"normal"))
pen.hideturtle()
pen.penup()
pen.goto(100,100)
pen.pendown()
pen.pensize(5)
pen.pencolor("red")
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
turtle.done()
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