Commit 7721213d by BellCodeEditor

save project

parent df5b08ff
Showing with 16 additions and 8 deletions
import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
penSB=turtle.Pen()
penSB.pensize(5)
penSB.pencolor("red")
penSB.left(45)
penSB.forward(100)
penSB.circle(50,180)
penSB.right(90)
penSB.circle(50,180)
penSB.forward(100)
penSB1.pencolor("blue")
penSB.pen()
penSB.up()
penSB.goto(100,-100)
penSB.write("Hi,诺伊~\n用python写贺卡真是忒有趣了啦~\n我也喜欢python~\n——悟空”,font=("times",12,"normal"))
penSB.hideturtle()
penSB1.pencolor("red")
penSB1.left(45)
penSB1.forward(100)
penSB1.circle(50,180)
penSB1.right(90)
penSB1.circle(50,180)
penSB1.forward(100)
penSB1.hideturtle()
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