Commit b95f17c0 by BellCodeEditor

save project

parent 1881aafc
Showing with 17 additions and 15 deletions
import turtle
pen=turtle.Pen()
pen.fillcolor('red')
pen.begin_fill()
for i in range(36):
pen.forward(200)
pen.right(170)
pen.end_fill()
pen.hideturtle()
tuetle.done()
# import turtle
# pen=turtle.Pen()
# pen.fillcolor('red')
# pen.begin_fill()
# for i in range(36):
# pen.forward(200)
# pen.right(170)
# pen.end_fill()
# pen.hideturtle()
# tuetle.done()
player=input('输入你出的')
print("玩家的出拳是"+player)
import turtle
pen=turtle.Pen()
color=input("什么颜色")
pen.fillcolor(color)
ink=input("什么颜色")
pen.fillcolor(ink)
pen.begin_fill()
for i in range(3):
for i in range(5):
pen.forward(200)
pen.right(120)
pen.right(144)
pen.end_fill()
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