Commit 1f7859dd by BellCodeEditor

save project

parent c66a449e
Showing with 24 additions and 0 deletions
import turtle
# t=turtle.Pen()
# t.write("床前明月光\n疑是地上霜\n举头望明月\n低头思故乡\n",font=("Times",30,"normal"))
# t.ht()
# 画爱心
import turtle
p=turtle.Pen()
p.pensize(5)
p.pencolor("black")
p.fillcolor("red")
p.begin_fill()
p.left(45)
p.forward(100)
p.circle(50,180)
p.right(90)
p.circle(50,180)
p.forward(100)
p.end_fill()
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