Commit 00b3daad by BellCodeEditor

save project

parent 23311c79
Showing with 19 additions and 3 deletions
import turtle
pen=turtle.Pen()
pen.write("折戟沉沙铁未销,\n自将磨洗认前朝。\n东风不与周郎便,\n铜雀春深锁二乔。",font=("楷体",30,"normal"))
turtle.bgcolor("purple")
# pen=turtle.Pen()
# pen.write("结庐在人境,而无车马喧。\n问君何能尔,心远地自偏。\n采菊东篱下,悠然见南山。\n山气日夕佳,飞鸟相与还。\n此中有真意,欲辨已忘言。",font=("楷体",30,"normal"))
# pen.hideturtle()
# turtle.done()
pen1=turtle.Pen()
pen1.pensize(3)
pen1.pencolor("red")
pen1.fillcolor("red")
pen1.begin_fill()
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
pen1.end_fill()
pen1.hideturtle()
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