Commit 4c0ab927 by BellCodeEditor

auto save

parent 654bc3ba
Showing with 26 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
pen=turtle.Pen()
pen.write("Hi,诺依~\n用python"
pen.hideturtle()
len=60
pen.penup()
pen.goto(100,100)
pen.pendown()
pen.pensize(5)
pen.pencolor("red")
pen.left(45)
pen.forward(2*len)
pen.circle(len,180)
pen.right(90)
pen.circle(len,180)
turtle.done()
import turtie
pen=turtie.Pen()
pen.penup()
pen.goTo(100,-100)
pen.write('Hi,诺依~\n用python写电子贺卡真是太有趣了,我也喜欢python',font=('Times',30,'normai') )
pen.hideturtie()
pen1=turtie.Pen()
pen1.pencoior("red")
pen1.
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