Commit ecdc5856 by BellCodeEditor

save project

parent 501e28bd
Showing with 11 additions and 3 deletions
player=input("猜出拳:石头/翦刀/布")#玩家出拳 if player==computer:
print("玩家出拳+player) print("平局")
\ No newline at end of file elif player=="石头"and computer=="翦刀"
print("赢")
elif player=="翦刀"and computer=="布"
print("赢")
elif player=="布"and compter=="石头"
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