import sys def isAlly(ally): if ally == 'hidden_daggers': return 1 return 0 def isEnemy(enemy): if enemy == 'corsec': return 1 return 0