Commit c1d045cc by BellCodeEditor

auto save

parent 709f974f
Showing with 23 additions and 2 deletions
player=input("请出拳:石头/剪刀/布")# 玩家出拳 player=input("请出拳:石头/剪刀/布")# 玩家出拳
print("玩家出拳:"+player) print("玩家出拳:"+player)
\ No newline at end of file
player=input("请出拳:shitou/jiandao/bu")# 玩家出拳
print("玩家出拳:"+player)
print("玩家出拳:")else:
pass["shitou/jiandao/bu"]
if player==computer:
print("ping")
elif player=="shitou"and computer=="jiandao":
print("yin")
elif player=="jiandao"and computer=="bu"
print("yin")
elif player=="bu"and computer=="shitou"
print("yin")
elif player=="shitou" and computer=="bu":
print("shu")
elif player=="jiandao" and computer=="shitou":
print("shu")
elif player=="bu" and computer=="jiandao":
print("shu")
else:
print("ni,shucuole")
\ 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