From c1faf5e680a43264dc53cdf6a528e99e17c20dc8 Mon Sep 17 00:00:00 2001 From: Donne Martin Date: Sun, 5 Jul 2015 07:56:28 -0400 Subject: [PATCH] Set solution to blank for unique chars challenge. --- .../unique_chars/unique_chars_challenge.ipynb | 23 ++++--------------- 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/arrays_strings/unique_chars/unique_chars_challenge.ipynb b/arrays_strings/unique_chars/unique_chars_challenge.ipynb index 8afd212..cd9c851 100644 --- a/arrays_strings/unique_chars/unique_chars_challenge.ipynb +++ b/arrays_strings/unique_chars/unique_chars_challenge.ipynb @@ -76,20 +76,15 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "metadata": { "collapsed": false }, "outputs": [], "source": [ "def unique_chars(string):\n", - " chars_set = set()\n", - " for char in string:\n", - " if char in chars_set:\n", - " return False\n", - " else:\n", - " chars_set.add(char)\n", - " return True" + " # TODO: Implement me\n", + " pass" ] }, { @@ -108,19 +103,11 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": null, "metadata": { "collapsed": false }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Success: test_unique_chars\n" - ] - } - ], + "outputs": [], "source": [ "# %load test_unique_chars.py\n", "from nose.tools import assert_equal\n",