Commit 8b955f0a by BellCodeEditor

save project

parent 01981918
Showing with 5 additions and 4 deletions
#利用write()帮助悟空给诺依回信吧~ 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
screen = turtle.Screen() screen = turtle.screen()
screen.bgcolor("pink") screen.bgcolor("pink")
pen=turtle.Pen()#创建画笔 pen=turtle.Pen()#创建画笔
pen.penup()#抬笔 pen.penup()#抬笔
pen.goto(100,-100)#画笔移动位置 pen.goto(100,-100)#画笔移动位置
pen.write("呵呵呵???。。。",font=("times",30,"normal")) pen.write("???????????????",font=("times",30,"normal"))
turtle.done()
pen1 = turtle.Pen() pen1 = turtle.Pen()
pen1.color("red") pen1.color("red")
pen1.pensize(50) pen1.pensize(20)
pen1.left(45) pen1.left(45)
pen1.forward(100) pen1.forward(100)
pen1.circle(50,180) pen1.circle(50,180)
......
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