Commit 82d51020 by BellCodeEditor

save project

parent 2dfc517b
Showing with 6 additions and 7 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
#导入模块 #导入模块
#import turtle import turtle
#创建画笔 #创建画笔
#pen=turtle.Pen() pen=turtle.Pen()
#写字 #写字
#pen.write("你好呀!",font=("Times",20,"normal")) pen.goto(100,-100)
#pen.hideturtle() pen.write("你好呀!",font=("Times",10,"normal"))
#turtle.done() pen.hideturtle()
turtle.done()
pen1=turtle.Pen() pen1=turtle.Pen()
pen.penup() pen.penup()
pen.goto(100,-100)
pen.write("Hi",font=("Times",13,"normal")
pen.hideturtle() pen.hideturtle()
pen1.pencolor("red") pen1.pencolor("red")
pen1.left(45) pen1.left(45)
......
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