Commit b95f17c0 by BellCodeEditor

save project

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