Commit 73aecdb3 by BellCodeEditor

save project

parent a845e354
Showing with 9 additions and 6 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
screen=turtle.Screen()
pen=turtle.Pen() pen=turtle.Pen()
#pen.write('诺依 \n 你真TM是个 \n 大伞兵',font=('Times',30,'normal')) screen.bgcolor('yellow')
pen.pencolor('red') pen.penup()
pen.pensize(20) pen.goto(100,45)
pen.write('哇哈哈哈哈 \n hahahahaha',font=('Times',15,'normal'))
pen.pendown()
pen.pencolor('black')
pen.pensize(13)
pen.left(45) pen.left(45)
pen.forward(100) pen.forward(100)
pen.circle(50,180) pen.circle(50,180)
...@@ -11,4 +15,4 @@ pen.right(90) ...@@ -11,4 +15,4 @@ pen.right(90)
pen.circle(50,180) pen.circle(50,180)
pen.forward(100) pen.forward(100)
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