Commit b510698d by BellCodeEditor

save project

parent a45af7d7
Showing with 31 additions and 9 deletions
name=input("请输入你的名字")
print(name+",你是最棒的!")
\ No newline at end of file
a=['华雄']
a.insert(1,'颜良')
#a.append('颜良')
#b=['颜良','文丑']
#a.extend(b)
print(a)
\ No newline at end of file
......@@ -3,9 +3,10 @@ import turtle
pen=turtle.Pen()
pen.fillcolor("blue")
pen.begin_fill()
for i in range(70):
pen.speed(0)
for i in range(100):
pen.forward(300)
pen.right(180-180/70)
pen.right(180-180/100)
pen.hideturtle()
pen.end_fill()
turtle .done()
\ No newline at end of file
......@@ -3,9 +3,9 @@ pen=turtle.Pen()
pen.fillcolor("red")
pen.begin_fill()
pen.speed(0)
for i in range(1900):
for i in range(500):
pen.forward(900)
pen.right(180-180/1900)
pen.left(-180-180/500)
pen.hideturtle()
pen.end_fill()
turtle .done()
\ No newline at end of file
for i in range(10):
print("悟空")8
\ No newline at end of file
print("悟空")
import turtle
pen=turtle.Pen()
pen.penup()
pen.goto(0,-200)
pen.pendown()
pen.circle(200)
pen.penup()
pen.goto(-100,50)
turtle.down()
\ No newline at end of file
......@@ -8,3 +8,5 @@ for i in range(6):
pen.hideturtle()
pen.end_fill()
turtle .done()
turtle .done()
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