Commit 224666fa by BellCodeEditor

save project

parent 12c55312
Showing with 10 additions and 4 deletions
...@@ -2,13 +2,19 @@ ...@@ -2,13 +2,19 @@
import turtle #导入turtle模块 import turtle #导入turtle模块
# A=turtle.Pen() #新建画笔 s=turtle.Screen()
# A.write("静夜思\n床前明月光\n疑是地上霜\n举头望明月\n低头思故乡",font=("STKAITI",30,"normal")) #写字 s.bgcolor("yellow")
# A.hideturtle() #隐藏画笔
A=turtle.Pen() #新建画笔
A.penup()
A.goto(-159,-170)
A.write("静夜思\n床前明月光\n疑是地上霜\n举头望明月\n低头思故乡",font=("STKAITI",30,"normal")) #写字
A.hideturtle() #隐藏画笔
# turtle.done() #保持画布 # turtle.done() #保持画布
a=turtle.Pen() a=turtle.Pen()
a.pencolor("grey") a.pencolor("orange")
a.pensize(5) a.pensize(5)
a.fillcolor("red") a.fillcolor("red")
a.begin_fill() a.begin_fill()
......
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