Commit 2f6a70b2 by BellCodeEditor

save project

parent 9958a06a
Showing with 8 additions and 6 deletions
...@@ -2,18 +2,19 @@ ...@@ -2,18 +2,19 @@
import turtle import turtle
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("blue") screen.bgcolor("blue")
pen.penup()
pen.goto(100,100)
pen = turtle.Pen() pen = turtle.Pen()
pen.write("上节课\n\n\n\nramdon\n函数",font=("Times",30,"normal")) pen.write("上节课\n\n\n\nramdon\n函数",font=("Times",30,"normal"))
#画图 #画图
len=30
pen.penup()
pen.goto(100,100)
pen.left(45) pen.left(45)
pen.circle(50,180) pen.circle(len,180)
pen.right(90) pen.right(90)
pen.circle(50,180) pen.circle(len,180)
pen.forword(100)
pen.left(90) pen.left(90)
pen.forword(100) pen.forword(len*2)
turtle.done() turtle.done()
\ 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