Commit b1cd962d by BellCodeEditor

save project

parent 1fff8e26
Showing with 13 additions and 4 deletions
player=input("请出拳:石头/剪刀/布")# 玩家出拳
print("玩家出拳:"+player)
p=input("请出拳:石头/剪刀/布")# 玩家出拳
print("玩家出拳:"+p)
import random
r=["石头","剪刀","布"]
print(r)
\ No newline at end of file
print(r)
if f==h:
print("平局")
elif (f=="石头" and h=="剪刀") or (f=="剪刀" and h=="布") or (f=="布" and h=="石头")
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