Commit 5d92fd25 by BellCodeEditor

save project

parent 28fb5e02
Showing with 14 additions and 3 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
pen = turtle.Pen() pen = turtle.Pen()
pen.write("静夜思 \n床前明月光\n疑是地上霜\n举头望明月\n低头思故乡",font=("Times",30,"normal")) screen=turtle.Screen()
screen.bgcolor("pink")
pen.penup()
pen.goto(100,-100)
pen.write("\n您好!妈妈:\n祝您母亲节快乐!\n天天快乐!",font=("Times",15,"normal"))
pen.hideturtle() pen.hideturtle()
turtle.done() pen1=turtle.Pen()
\ No newline at end of file pen1.color("red")
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
turtle.done()
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