Commit 7b2476d8 by BellCodeEditor

save project

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