Commit bfa87e48 by BellCodeEditor

save project

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