Commit 95a5363c by BellCodeEditor

auto save

parent 1aa58e3f
Showing with 0 additions and 31 deletions
name=input("名字:")
print(name+"你好啊!")
\ No newline at end of file
import turtle
pen=turtle.Pen()
turtle.bgcolor("red")
pen.fillcolor("yellow")
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