Commit e3539183 by BellCodeEditor

auto save

parent dd8e1eb7
Showing with 10 additions and 2 deletions
# 利用write()帮助悟空给诺依回信吧 # 利用write()帮助悟空给诺依回信吧
import turtle import turtle
# sb = turtle.Pen() c = turtle.Screen()
# sb.write('春眠不洗脚,\n处处蚊子咬。\n夜来风雨声,\n不知死多少。', font=('Times',20,'normal')) c. bgcolor('pink')
sb = turtle.Pen()
sb.penup()
sb.goto(100,-100)
sb.pendown()
sb.write('春眠不洗脚,\n处处蚊子咬。\n夜来风雨声,\n不知死多少。', font=('Times',20,'normal'))
sb.hideturtle()
j = turtle.Pen() j = turtle.Pen()
j.pensize(5) j.pensize(5)
j.pencolor('red') j.pencolor('red')
...@@ -11,4 +17,5 @@ j.circle(50,180) ...@@ -11,4 +17,5 @@ j.circle(50,180)
j.right(90) j.right(90)
j.circle(50,180) j.circle(50,180)
j.forward(100) j.forward(100)
j.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