Commit 61116cf7 by BellCodeEditor

save project

parent 1c0ffe8c
Showing with 19 additions and 0 deletions
import turtle
screen=turtle.Screen()
screen.bgcolor("yellow")
pen1=turtle.Pen()
pen1.penup()
pen1.goto(100,-100)
pen1.write("诺伊你好呀!\n用Python写贺卡\n真的太有趣了",font=("Times",20,"normal"))
pen=turtle.Pen()
pen.pensize(5)
pen.pencolor("red")
len=60
pen.left(45)
pen.forward(2*len)
pen.circle(len,180)
pen.right(90)
pen.circle(len,180)
pen.forward(2*len)
pen.hideturtle()
turtle.done()
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