Commit e5944909 by BellCodeEditor

save project

parent 24a364be
Showing with 37 additions and 1 deletions
import turtle import turtle
# pen=turtle.Pen()
# pen.write("你好,我随意发挥\n我的说的话vu\n封闭u哦虽然",font=("times",30,"normal"))
# pen.hideturtle()
# turtle.done()
pen=turtle.Pen() pen=turtle.Pen()
pen.write("你好,我随意发挥\n我的说的话vu\n封闭u哦虽然",font=("times",30,"normal")) pen.fillcolor("red")
pen.begin_fill()
pen.pencolor("red")
pen.pensize(5)
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.hideturtle() pen.hideturtle()
pen.end_fill()
turtle.done() turtle.done()
\ No newline at end of file
import turtle
screen=turtle.Screen()
screen.bgcolor("green")
pen=turtle.Pen()
pen.penup()
pen.goto(0,-100)
pen.write("人生中不时有些难得的时刻,\n凡事一经觉定,\n就能影响久远。\n在这种关键时刻,\n应该有勇气表示赞成或反对。",font=("Times",12,"normal"))
pen.hideturtle()
pen1=turtle.Pen()
pen1.begin_fill()
pen1.fillcolor("pink")
pen1.pensize(5)
pen1.pencolor("pink")
pen1.left(45)
pen1.forward(120)
pen1.circle(60,180)
pen1.right(90)
pen1.circle(60,180)
pen1.forward(120)
pen1.end_fill()
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