Commit 66f72ab9 by BellCodeEditor

auto save

parent c66a449e
Showing with 24 additions and 1 deletions
......@@ -5,7 +5,7 @@ screen.bgcolor("light blue")
len=screen.textinput("100","100")
len=int(len)
pen=turtle.Pen()
pen.write("你好\nSB.",font=("Times",30,"normal"))
pen.write("你好\n诺依.",font=("Times",30,"normal"))
pen.hideturtle()
len=60
pen.penup()
......
import turtle
pen=turtle.Pen()
pen.pencolor("red") #颜色
pen.pensize(10) #粗细
#1
pen.left(45)
pen.forward(100)
#2
pen.circle(50,180)
#3
pen.right(90)
pen.circle(50,180)
#4
pen.forward(100)
#写祝福语
pen.penup()
pen.pencolor("blue")
pen.goto(100,-100)
pen.pendown()
pen.write("祝你天天开心!",font=("Times",30,"normal"))
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