Commit 925442ee by BellCodeEditor

auto save

parent 5eb4fd4d
Showing with 3 additions and 2 deletions
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
import random import random
player=input("你要出啥?") player=input("你要出啥?")
print("玩家出拳:"+player) print("玩家出拳:"+player)
list["石头","剪刀","布"] list=["石头","剪刀","布"]
computer=random.choices(list) computer=random.choice(list)
print(computer) print(computer)
\ 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