Commit 9c41c2f7 by BellCodeEditor

save project

parent f77096ab
Showing with 8 additions and 2 deletions
#导入模块 #导入模块
import turtle import turtle
screen=turtle.Screen()
screen.bgcolor("pink")
#创建画笔 #创建画笔
#pen=turtlr.Pen() pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
#开始写字 #开始写字
#pen.write pen.write("诺伊,\n我会用turtle写信了!",font=("times",30,"normal"))
#隐藏画笔
pen.hideturtle()
#画爱心 #画爱心
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pensize(5) pen1.pensize(5)
......
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