Commit 108cc014 by BellCodeEditor

save project

parent 81b66bda
Showing with 4 additions and 3 deletions
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
#背景
screen=turtle.Screen()
screen.bgcolor("blue")
#画笔颜色 #画笔颜色
pen.pensize(5) pen.pensize(5)
pen.pencolor('red') pen.pencolor('red')
...@@ -17,5 +20,3 @@ pen.write('芝士\n就是力量。',font=('楷体',30,'normal')) ...@@ -17,5 +20,3 @@ pen.write('芝士\n就是力量。',font=('楷体',30,'normal'))
pen.hideturtle()#隐藏画笔 pen.hideturtle()#隐藏画笔
turtle.done()#保存画布 turtle.done()#保存画布
\ No newline at end of file
#背景
Screen.bgcolor("blue")
\ 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