Commit ea8ce040 by BellCodeEditor

auto save

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