Commit 914c48bd by BellCodeEditor

save project

parent c0b5d117
player=input("请出拳:石头/剪刀/布")# 玩家出拳
print("玩家出拳:"+player)
\ No newline at end of file
import random
list=(剪刀,石头,布)
nn=random.choice(list)
print(nn)
r=input("请做出你的选择布/石头、剪刀")
input("玩家选择"+r)
if piayer==conputer:
plint("平局")
elif piayer(剪刀)conputer(石头)
elif piayer()conputer(石头)
elif piayer(石头)conputer(剪刀)
print("你赢了")
else:
print("你输了)
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