diy1.py
371 Bytes
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
pen.pensize(5)
pen.pencolor("red")
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.penup()
pen.goto(100,100)
pen.write("你好吗",font=("Times",20,"normal"))
screen.bgcolor("blue")
pen.hideturtle()
turtle.done()