Commit 1a8cb287 by BellCodeEditor

auto save

parent 12b6d46d
Showing with 9 additions and 7 deletions
import turtle
s=turtle.Screen()
s.bgcolor("red")
s.bgcolor("blue")
P = turtle.Pen()
P.penup()
P.goto(100,-100)
P.write("你好\nfy67r6tg8657!",font=("Times",30,"normal"))
P.write("你好,\nwsp!",font=("Times",30,"normal"))
P.hideturtle()
P1=turtle.Pen()
P1.color("blue")
len=100
P1.color("red")
P1.pensize(10)
P1.left(45)
P1.forward(100)
P1.circle(50,180)
P1.forward(2*len)
P1.circle(len,180)
P1.right(90)
P1.circle(50,180)
P1.forward(100)
P1.circle(len,180)
P1.forward(2*len)
P1.hideturtle()
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