Commit e9f0a477 by BellCodeEditor

save project

parent ea706fe4
Showing with 2 additions and 2 deletions
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
play=input("请出(石头/剪刀/布)") play=input("请出(石头/剪刀/布)")
print("玩家出"+play) print("玩家出"+play)
import random import random
list=["石头,剪刀,布"] list=["石头","剪刀","布"]
computer=random.choice(list) computer=random.choice(list)
print("玩家出"+computer) print(computer)
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