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