Commit 54420176 by BellCodeEditor

save project

parent 3832cb35
Showing with 12 additions and 15 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
huabi=turtle.Pen() huabi=turtle.Pen()
huabi.write("你好啊"font=("times",30,"normal")) # huabi.write("你好啊"font=("times",30,"normal"))
huabih.hideturtle() huabi.pensize(10)
turtle.done() huabi.pencolor("red")
len=60 huabi.lt(45)
pen.penup() huabi.fd(100)
pen.goto(100,100) huabi.circle(50,180)
pen.pendown() huabi.rt(90)
pen.pensize(5) huabi.circle(50,180)
pen.pencolor("red") huabi.fd(100)
pen.left(45) huabi.hideturtle()
pen.forward(2*len) turtle.done()
pen.circle(len,180) \ No newline at end of file
pen.right(90)
pen.circle(len,180)
pen.forward(2*len)
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