Commit 89114a2a by BellCodeEditor

auto save

parent c46eabf6
Showing with 6 additions and 0 deletions
import turtle import turtle
screen=turtle.Screen()
screen.bgcolor('yellow')
pen=turtle.Pen() pen=turtle.Pen()
pen.pencolor('red') pen.pencolor('red')
pen.fillcolor('red')
pen.begin_fill()
pen.pensize(5) pen.pensize(5)
pen.left(45) pen.left(45)
pen.forward(200) pen.forward(200)
...@@ -13,5 +17,6 @@ pen.goto(100,-100) ...@@ -13,5 +17,6 @@ pen.goto(100,-100)
pen.pencolor('black') pen.pencolor('black')
pen.down() pen.down()
pen.write("你好啊,\n我叫黎权锋",font=("宋体",25,"normal")) pen.write("你好啊,\n我叫黎权锋",font=("宋体",25,"normal"))
pen.end_fill()
pen.hideturtle() pen.hideturtle()
turtle.done() 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