Commit bee3bff9 by BellCodeEditor

save project

parent 3b3765a6
Showing with 17 additions and 4 deletions
# 玩家出拳
player=input("请出票【1,2,3】")
print4"=plarer
\ No newline at end of file
# 玩家出
player=input("请出票【石头,剪刀,布】")
print("哩哩啦啦:"+player)
import random
list=["石头","剪刀","布"]
computer=random.choice(list)
print("哩哩啦:"+computer)
if player in list
if player==computer:
print("pin")
elif (player=="石头" and computer=="剪刀") or (player=="剪刀" and computer=="布") or (player=="布" and computer=="石头"):
print("哈哈哈哈哈是")
else:
print(9090909)
else:
print("紧箍咒nmnmnmnmnmnmnmnmnmnmnmnmnmnmnmnmnmn")
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