Commit a8fc5789 by BellCodeEditor

save project

parent 49bd8325
Showing with 1 additions and 2 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.write("春晓\n春眠不觉晓,处处闻啼鸟。\n夜来风雨声,花落知多少。",font=("times",20,"normal")) pen.write("春晓\n春眠不觉晓,处处闻啼鸟。\n夜来风雨声,花落知多少。",font=("times",20,"normal"))
pen.hideturtle() pen.hideturtle()
turtle.done()
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pensize(5) pen1.pensize(5)
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