Commit 90bd5621 by BellCodeEditor

save project

parent 648896ce
Showing with 9 additions and 5 deletions
...@@ -12,4 +12,4 @@ for i in range(5): ...@@ -12,4 +12,4 @@ for i in range(5):
pen.right(144) pen.right(144)
pen.end_fill() pen.end_fill()
turtle.done() turtle.done()
player=input("") player=input("请出拳")
\ No newline at end of file \ No newline at end of file
player=input("请出拳(石头、剪刀、布):") import random
player("请玩家出拳"+player) w=["石头","剪刀","布"]
\ No newline at end of file d=random.choice(w)
player=input("请出拳(石头/剪刀/布):")
print("请玩家出拳"+player)
print(d)
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