mirror of
https://github.com/donnemartin/interactive-coding-challenges
synced 2026-01-03 16:08:02 +00:00
Fixed typo for func() calls
This commit is contained in:
@@ -108,10 +108,10 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"class UnitTest (object):\n",
|
"class UnitTest (object):\n",
|
||||||
" def testReverseWords(self):\n",
|
" def testReverseWords(self):\n",
|
||||||
" assert_equal(func('the sun is hot'), 'eht nus si toh')\n",
|
" assert_equal(reverse_words('the sun is hot'), 'eht nus si toh')\n",
|
||||||
" assert_equal(func(''), None)\n",
|
" assert_equal(reverse_words(''), None)\n",
|
||||||
" assert_equal(func('123 456 789'), '321 654 987')\n",
|
" assert_equal(reverse_words('123 456 789'), '321 654 987')\n",
|
||||||
" assert_equal(func('magic'), 'cigam')\n",
|
" assert_equal(reverse_words('magic'), 'cigam')\n",
|
||||||
" print('Success: reverse_words')\n",
|
" print('Success: reverse_words')\n",
|
||||||
" \n",
|
" \n",
|
||||||
"def main():\n",
|
"def main():\n",
|
||||||
@@ -147,7 +147,7 @@
|
|||||||
"name": "python",
|
"name": "python",
|
||||||
"nbconvert_exporter": "python",
|
"nbconvert_exporter": "python",
|
||||||
"pygments_lexer": "ipython2",
|
"pygments_lexer": "ipython2",
|
||||||
"version": "2.7.6"
|
"version": "2.7.10"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nbformat": 4,
|
"nbformat": 4,
|
||||||
|
|||||||
Reference in New Issue
Block a user