Commit 03d4dd4a by BellCodeEditor

save project

parent d2ee2554
Showing with 35 additions and 7 deletions
import turtle import turtle
pen = turtle.Pen() pen=turtle.Pen()
ys= input("什么色?") pen.write(" 春晓\n春眠不觉晓,处处闻啼鸟。\n夜来风雨声,花落知多少。",font=("楷体",15,"bold"))
pen.fillcolor(ys) pen.penup()
pen.goto(-100,50)
pen.pendown()
pen.speed(15)
pen.color("red")
pen.fillcolor()
pen.begin_fill() pen.begin_fill()
for i in range(5): pen.left(45)
pen.forward(200) pen.forward(100)
pen.right(144) pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.end_fill() pen.end_fill()
pen.size(10)
pen.color("orange")
pen.penup()
pen.goto()
pen.pendown()
pen.circle(80)
pen.penup()
pen.goto()
pen.pendown()
pen.circle(80)
pen.penup()
pen.goto()
pen.pendown()
pen.circle(80)
pen.penup()
pen.goto()
pen.pendown()
pen.circle(80)
turtle.done() 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