Commit 9e6eb15f by BellCodeEditor

save project

parent a2da78b3
Showing with 4 additions and 6 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.goto(10,-100) pen.penup()
pen.goto(80,0)
pen.pendown()
pen.write("诺依\n确实很好用\n我也学会了",font=("草书","20","normal")) pen.write("诺依\n确实很好用\n我也学会了",font=("草书","20","normal"))
pen.hideturtle() pen.hideturtle()
pen.up() pen.penup()
pen.goto(-80,0)
pen.down()
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.goto(-80,0)
pen1.down()
pen1.pensize(5) pen1.pensize(5)
pen1.pencolor("red") pen1.pencolor("red")
pen1.fillcolor("red") pen1.fillcolor("red")
......
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