Commit b39014a3 by BellCodeEditor

save project

parent 60ca0bef
Showing with 8 additions and 5 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
# a=turtle.Pen() c=turtle.Screen()
# a.write("你好呀!",font=("Times",30,"normal")) c.bgcolor("light blue")
# a.hideturtle() a=turtle.Pen()
# turtle.done() a.penup()
a.goto(100,-50)
a.write("你好呀!诺依\n我也会用turtle模块写贺卡了!",font=("Times",15,"normal"))
a.hideturtle()
b=turtle.Pen() b=turtle.Pen()
b.pensize(5) b.pensize(4)
b.pencolor("blue") b.pencolor("blue")
b.left(45) b.left(45)
b.forward(100) b.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