Commit 1aa58e3f by BellCodeEditor

save project

parent 3e174871
Showing with 25 additions and 6 deletions
name=input("名字:")
print(name+"你好啊!")
\ No newline at end of file
import turtle
pen=turtle.Pen()
turtle.bgcolor("red")
pen.fillcolor("yellow")
pen.fillcolor("red")
pen.begin_fill()
for i in range(36):
pen.forward(200)
pen.right(170)
pen.end_fill()
def hua():
pen.forward(140)
pen.left(30)
pen.begin_fill()
pen.forward(80)
pen.right(60)
pen.forward(80)
pen.right(120)
pen.forward(80)
pen.right(60)
pen.forward(80)
pen.end_fill()
pen.right(120)
pen.goto(0,0)
for i in range(12):
hua()
pen.goto(0,140)
pen.circle(-140)
pen.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