def isCollision (enemyX, enemyY, playerX, playerY): distance = math.sqrt((math.pow(enemyX-playerX,2)) + (math.pow(enemyY-playerY,2)) if distance < 27: return True else: r