Commit 440450f0 by BellCodeEditor

auto save

parent 220fe62b
Showing with 14 additions and 0 deletions
import random
player=input("你个怨种要出什么?")
print("怨种出拳"+player)
list=["万象天引","神罗天征","地爆天星"]
computer=random.choice(list)
print("晓出拳"+computer)
if (player=="万象天引" and computer=="地爆天星") or (player=="地爆天星" and computer=="神罗天征") or (player=="神罗天征" and computer=="万象天引"):
print("你赢了")
elif player==computer:
print("平局,触发被动技能别天神,玩家胜利")
else:
print("你输了,触发被动技能别天神,你赢了")
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