Commit 1f02b134 by BellCodeEditor

auto save

parent db4ec920
Showing with 45 additions and 0 deletions
import turtle
A1=turtle.Pen()
A2=turtle.Pen()
A1.write("春晓\n"+"春眠不觉晓"+"处处闻啼鸟\n"+"夜来风雨声\n"+"花落知多少",font=("times",20,"normal"))
A2.goto(-100,0)
A2.left(45)
A2.forward(100)
A2.circle(50,180)
A2.right(94)
A2.circle(50,180)
A2.forward(106)
turtle.done()
\ No newline at end of file
"""
import turtle
a=turtle.Pen()
a1=turtle.Pen()
a2=turtle.Pen()
a3=turtle.Pen()
a.fillcolor("red")
a.begin_fill()
for i in range(1000):
a.forward(44)
a.right(223)
a1.forward(44)
a1.right(223)
a2.forward(44)
a2.right(223)
a3.forward(44)
a3.right(223)
a.end_fill()
turtle.done()
"""
import turtle
c=input("color\n")
a=turtle.Pen()
a.fillcolor(c)
a.begin_fill()
for i in range(500):
a.forward(44)
a.right(223)
a.end_fill()
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