Commit fa6e8fab by BellCodeEditor

save project

parent 4d1a0133
Showing with 8 additions and 5 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
# pen=turtle.Pen() screen=turtle.Screen()
# pen.write("诺依.\nturtle你好呀",font=("Times",50,"normal")) screen.bgcolor("pink")
# pen.hideturtle() pen=turtle.Pen()
# turtle.done() pen.penup()
pen.goto(100,-100)
pen.write("诺依.\nturtle你好呀",font=("Times",50,"normal"))
pen.hideturtle()
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pensize(5) pen1.pensize(50)
pen1.pencolor("red") pen1.pencolor("red")
pen1.left(45) pen1.left(45)
pen1.forward(100) pen1.forward(100)
......
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