Commit 5585c231 by BellCodeEditor

save project

parent cb229af8
Showing with 4 additions and 3 deletions
...@@ -2,5 +2,6 @@ ...@@ -2,5 +2,6 @@
player=input("请出拳(石/剪刀/布)") player=input("请出拳(石/剪刀/布)")
print("玩家出拳:"+player) print("玩家出拳:"+player)
import random import random
s=["石","剪刀","布"] sb=["石","剪刀","布"]
AI=random.choice(s) AI=random.choice(sb)
\ No newline at end of file print("AI出拳:"+sb)
\ 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