Commit c23d89b4 by BellCodeEditor

save project

parent b11594be
Showing with 22 additions and 3 deletions
neme=input("输入名字") import random
print(neme+"你好啊") player=input("请玩家出拳:")
\ No newline at end of file print("玩家出拳"+player)
list=["shitou","jiandao","bu1"]
computer=random.choice(list)
print("计算机出拳"+computer)
if player in list:
if player == computer:
print('111 pingju 111')
elif (player == 'shitou',computer == 'jiandao')or(player == 'bu',computer == 'shitou')or(player == 'jiandao',computer == 'bu'):
print("wanjiasheng")
else:
print("111 diannaosheng 111")
if player not in list:
print("111 shucuo 111")
\ 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