Commit 77a2571b by BellCodeEditor

save project

parent c0b5d117
Showing with 21 additions and 0 deletions
import random
o=input("请出拳")
print("玩家出拳:"+o)
list=["石头","剪刀","布"]
if player==computer
print("平局")
elif (player=="石头" and comput"剪刀") or (play=="剪刀" and comput=="布") or (peayer=="剪刀" and computer=="布"):
print("恭喜你赢了")
else :
peint(你输了))
if player in list
if player==computer
print("平局")
elif (player=="石头" and comput"剪刀") or (play=="剪刀" and comput=="布") or (peayer=="剪刀" and computer=="布"):
print("恭喜你赢了")
else
print("你输了")
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