mirror of
https://github.com/donnemartin/interactive-coding-challenges
synced 2026-01-13 21:08:06 +00:00
Tweaked template notebooks.
This commit is contained in:
@@ -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()"
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user