mirror of
https://github.com/donnemartin/interactive-coding-challenges.git
synced 2024-03-22 13:11:13 +08:00
Merge pull request #45 from jaysonfrancis/myfirstpull
Fix typo for func() calls
This commit is contained in:
commit
b1a07b6d48
|
@ -78,14 +78,12 @@
|
|||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 21,
|
||||
"metadata": {
|
||||
"collapsed": false
|
||||
},
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"def reverse_words (S):\n",
|
||||
" #TODO: implement me\n",
|
||||
" pass "
|
||||
" pass"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -99,9 +97,7 @@
|
|||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"metadata": {
|
||||
"collapsed": false
|
||||
},
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from nose.tools import assert_equal\n",
|
||||
|
@ -116,7 +112,7 @@
|
|||
" \n",
|
||||
"def main():\n",
|
||||
" test = UnitTest()\n",
|
||||
" test.testReverseWords()\n",
|
||||
" test.testReverseWords(reverse_words)\n",
|
||||
"\n",
|
||||
"if __name__==\"__main__\":\n",
|
||||
" main()"
|
||||
|
@ -140,14 +136,14 @@
|
|||
"language_info": {
|
||||
"codemirror_mode": {
|
||||
"name": "ipython",
|
||||
"version": 2
|
||||
"version": 2.0
|
||||
},
|
||||
"file_extension": ".py",
|
||||
"mimetype": "text/x-python",
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython2",
|
||||
"version": "2.7.6"
|
||||
"version": "2.7.10"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
|
Loading…
Reference in New Issue
Block a user