Commit 7780b377 by BellCodeEditor

auto save

parent ddb15e15
Showing with 20 additions and 2 deletions
neme=input("输入名字") import random
print(neme+"你好啊") player=input("你走上方台:(石头/剪刀/布): ")
list=["st","jd","b"]
computer=random.choice(list)
print("玩家出拳:"+player)
print("铜人出拳:"+computer)
if player in list:
if player==computer:
print("平局")
elif (player=="st"and computer=="jd")or(player=="jd"and computer=="b")or(player=="b"and computer=="st"):
print("你过关")
else:
print("你失败")
else:
print("ERROR")
import random
list=["✊","✌️","🖐"]
computer=random.choice(list)
print("计算机出拳:"+computer)
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