Commit bc0c4732 by BellCodeEditor

auto save

parent 654bc3ba
Showing with 18 additions and 0 deletions
import turtle
n=input()
n=int(n)
pen=turtle.Pen()
pen.write("春晓\n春眠不觉晓\n处处闻啼鸟\n夜来风雨声\n花落知多少",font=("times",20,"normal"))
pen.penup()
pen.goto(-100,50)
pen.pendown()
pen.pencolor("red")
pen.pensize(10)
pen.left(45)
pen.forward(2*n)
pen.circle(n,180)
pen.right(90)
pen.circle(n,180)
pen.forward(2*n)
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