Commit ae2d521b by BellCodeEditor

save project

parent eae503af
Showing with 10 additions and 6 deletions
import turtle import turtle
# pen=turtle.Pen() pen=turtle.Pen()
# pen.write("你好啊,\n诺伊",font=("Times",18,"normal")) pen.penup()
# pen.hideturtle() pen.goto(100,0)
pen.write("你好啊,\n诺伊",font=("Times",18,"normal"))
screen=turtle.Screen()
screen.bgcolor("light yellow")
pen.hideturtle()
# turtle.done() # turtle.done()
# 文字 # 文字
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pensize(2) pen1.pensize(2)
pen1.pencolor("yellow") pen1.pencolor("yellow")
pen1.left(45) pen1.left(45)
...@@ -14,4 +18,5 @@ pen1.right(90) ...@@ -14,4 +18,5 @@ pen1.right(90)
pen1.circle(50,180) pen1.circle(50,180)
pen1.forward(100) pen1.forward(100)
pen1.hideturtle() pen1.hideturtle()
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