Commit 88c31ab5 by BellCodeEditor

auto save

parent b8f28e2c
Showing with 6 additions and 4 deletions
p=input("玩家猜拳 石头剪刀布") p=input("玩家猜拳 石头剪刀布")
print("玩家出:"+p) print("玩家出:"+p)
import random import random
list=["石头,剪刀,布"] d=["石头","剪刀","布"]
list=random.choice(list) d=random.choice(d)
print("电脑出:"=list) print("电脑赢了!")
\ No newline at end of file else:
print("你输入错了")
\ 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