Commit dbca88b2 by BellCodeEditor

auto save

parent 138c987d
Showing with 42 additions and 2 deletions
# 玩家出拳
\ No newline at end of file
# 玩家出拳
"""import random
p=input("请出拳(s/j/b)")
print("玩家出拳:"+p)
l=["s","j","b"]
c=random.choice(l)
print(c)
if(p=="s"and c=="j")or()"""
'''a=0
for i in range(5):
a=a+1
print("#"*a)
for i in range(5):
a=a-1
print("#"*a)'''
import turtle
p=turtle.Pen()
p.pencolor("black")
p.fillcolor("black")
p.begin_fill()
for i in range(4):
p.forward(100)
p.right(90)
p.end_fill()
p.forward(100)
for i in range(4):
p.forward(100)
p.right(90)
p.up
p.goto(0,-100)
p.down
for i in range(4):
p.forward(100)
p.right(90)
p.forward(100)
p.begin_fill()
for i in range(4):
p.forward(100)
p.right(90)
p.end_fill()
p.hideturtle()
turtle.done
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