Commit 24f861cf by BellCodeEditor

auto save

parent a0cbfb52
Showing with 12 additions and 0 deletions
import random
list=[0,1,2]
w=input("请输入(石头/剪刀/布):")
print("玩家出"+w)
c=random.choice(list)
if c==0:
print("电脑出石头")
elif c==1:
print("电脑出剪刀")
elif c==2:
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