mirror of
https://github.com/donnemartin/interactive-coding-challenges.git
synced 2024-03-22 13:11:13 +08:00
Tweaked template notebooks.
This commit is contained in:
parent
691fba5ff9
commit
62e54233c6
|
@ -34,9 +34,8 @@
|
||||||
"source": [
|
"source": [
|
||||||
"## Constraints\n",
|
"## Constraints\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
"* Does foo do anything else?\n",
|
||||||
"* Is it foo or bar?\n",
|
" * No"
|
||||||
" * foo"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -33,9 +33,8 @@
|
||||||
"source": [
|
"source": [
|
||||||
"## Constraints\n",
|
"## Constraints\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
"* Does foo do anything else?\n",
|
||||||
"* Is it foo or bar?\n",
|
" * No"
|
||||||
" * foo"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -114,10 +113,12 @@
|
||||||
" assert_equal(foo('bar'), 'bar')\n",
|
" assert_equal(foo('bar'), 'bar')\n",
|
||||||
" print('Success: test_foo')\n",
|
" print('Success: test_foo')\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
"\n",
|
||||||
"def main():\n",
|
"def main():\n",
|
||||||
" test = TestFoo()\n",
|
" test = TestFoo()\n",
|
||||||
" test.test_foo()\n",
|
" test.test_foo()\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
"\n",
|
||||||
"if __name__ == '__main__':\n",
|
"if __name__ == '__main__':\n",
|
||||||
" main()"
|
" main()"
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user