Commit ea8ce040 by BellCodeEditor

auto save

parent d6b4a235
Showing with 18 additions and 13 deletions
import turtle
screen=turtle.Screen()
screen.bgcolor("blue")
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("你好呀",font=("Times",20,"normal"))
# screen=turtle.Screen()
# screen.bgcolor("blue")
# pen=turtle.Pen()
# pen.penup()
# pen.goto(100,-100)
# pen.write("你好呀",font=("Times",20,"normal"))
pen1=turtle.Pen()
pen1.pensize(10)
pen1.pencolor("red")
turtle.done()
\ No newline at end of file
#创建新画笔pen1
#设置画笔大小
#设置画笔颜色
#绘制爱心
#左转45°
#移动100步
#画一个半径为50的半圆
#右转90°
#画一个半径为50的半圆
#移动100步
#保存画布
\ No newline at end of file
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