      "\n",
      "\n",
      "def main():\n",
      "    test = TestPermutation()\n",
      "    test.test_permutation(permutations)\n",
      "    try:\n",
      "        test.test_permutation(permutations_alt)\n",
      "    except NameError:\n",
      "        # Alternate solutions are only defined\n",
      "        # in the solutions file\n",
 
</s>
    "    permutations = Permutations()\n",
    "    test.test_permutation(permutations.is_permutation)\n",
      "\n",
      "\n",
      "def main():\n",
      "    test = TestPermutation()\n",
    "    permutations = Permutations()\n",
    "    test.test_permutation(permutations.is_permutation)\n",
      "    try:\n",
      "        test.test_permutation(permutations_alt)\n",
      "    except NameError:\n",
      "        # Alternate solutions are only defined\n",
      "        # in the solutions file\n",
keep keep keep keep replace keep keep keep keep keep
 Move string permutation to a class
arrays_strings/permutation/permutation_solution.ipynb