Commit 93e8fd4d by BellCodeEditor

save project

parent e5f8d0b2
Showing with 10 additions and 8 deletions
import turtle import turtle
let(red) screen=turtle.Screen()
screen.bgcolor("red")
pen=turtle.Pen() pen=turtle.Pen()
pen.penup() pen.penup()
screen.turtle.screen
pen.goto(180,-200) pen.goto(180,-200)
pen.write("春小\n现 程XX\n春眠不觉晓,\n处处闻啼鸟\n夜来风雨声,\n花落知多少。",font=("times",20,"normal")) pen.write("春小\n现 程XX\n春眠不觉晓,\n处处闻啼鸟\n夜来风雨声,\n花落知多少。",font=("times",20,"normal"))
pen.hideturtle() pen.hideturtle()
pen1=turtle pen1=turtle
pen1.pensize(20) r=100
pen1.pencolor("red") pen1.pensize(10)
pen1.pencolor("black")
pen1.left(45) pen1.left(45)
pen1.forward(100) pen1.forward(r*2)
pen1.circle(50,180) pen1.circle(r,180)
pen1.right(90) pen1.right(90)
pen1.circle(50,180) pen1.circle(r,180)
pen1.forward(100) pen1.forward(r*2)
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