Commit 6d4cb2da by BellCodeEditor

save project

parent f7f3fa5f
Showing with 2 additions and 1 deletions
...@@ -2,4 +2,5 @@ import random ...@@ -2,4 +2,5 @@ import random
player=input("请玩家出拳石头/剪刀/布") player=input("请玩家出拳石头/剪刀/布")
print("我出:"+player) print("我出:"+player)
players=["石头","剪刀","布"] players=["石头","剪刀","布"]
print("人机出:"+players) a=random.choice(players)
print("人机出:"+a)
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